|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.config.writebehind.DefaultWriteBehindConfiguration
public class DefaultWriteBehindConfiguration
Constructor Summary | |
---|---|
DefaultWriteBehindConfiguration()
|
Method Summary | |
---|---|
int |
getMaxWriteDelay()
The maximum number of seconds to wait before writing behind. |
int |
getMinWriteDelay()
The minimum number of seconds to wait before writing behind. |
int |
getRateLimitPerSecond()
The maximum number of write operations to allow per second. |
int |
getRetryAttemptDelaySeconds()
A number of seconds to wait before retrying an failed operation. |
int |
getRetryAttempts()
The number of times the write of a mapping will be retried in the case of failure. |
java.lang.Class<WriteBehindDecoratorLoaderWriterProvider> |
getServiceType()
Indicates which service this configuration works with. |
int |
getWriteBatchSize()
The recommended size of a batch of operations. |
int |
getWriteBehindConcurrency()
A number of bucket/thread pairs configured for this cache's write behind. |
int |
getWriteBehindMaxQueueSize()
The maximum number of operations allowed on the write behind queue. |
boolean |
isWriteCoalescing()
Whether write operations can be coalesced. |
void |
setMaxWriteDelay(int maxWriteDelay)
|
void |
setMinWriteDelay(int minWriteDelay)
|
void |
setRateLimitPerSecond(int rateLimitPerSecond)
|
void |
setRetryAttempts(int retryAttempts,
int retryAttemptDelaySeconds)
|
void |
setWriteBatchSize(int writeBatchSize)
|
void |
setWriteBehindConcurrency(int writeBehindConcurrency)
|
void |
setWriteBehindMaxQueueSize(int writeBehindMaxQueueSize)
|
void |
setWriteCoalescing(boolean writeCoalescing)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultWriteBehindConfiguration()
Method Detail |
---|
public int getMinWriteDelay()
WriteBehindConfiguration
getMaxWriteDelay
.
getMinWriteDelay
in interface WriteBehindConfiguration
public int getMaxWriteDelay()
WriteBehindConfiguration
getMinWriteDelay
getMaxWriteDelay
in interface WriteBehindConfiguration
public int getRateLimitPerSecond()
WriteBehindConfiguration
getRateLimitPerSecond
in interface WriteBehindConfiguration
public boolean isWriteCoalescing()
WriteBehindConfiguration
isWriteCoalescing
in interface WriteBehindConfiguration
public int getWriteBatchSize()
WriteBehindConfiguration
getWriteBatchSize
in interface WriteBehindConfiguration
public int getRetryAttempts()
WriteBehindConfiguration
getRetryAttempts
in interface WriteBehindConfiguration
public int getRetryAttemptDelaySeconds()
WriteBehindConfiguration
getRetryAttemptDelaySeconds
in interface WriteBehindConfiguration
public int getWriteBehindConcurrency()
WriteBehindConfiguration
getWriteBehindConcurrency
in interface WriteBehindConfiguration
public int getWriteBehindMaxQueueSize()
WriteBehindConfiguration
getWriteBehindMaxQueueSize
in interface WriteBehindConfiguration
public void setMinWriteDelay(int minWriteDelay)
public void setMaxWriteDelay(int maxWriteDelay)
public void setRateLimitPerSecond(int rateLimitPerSecond)
public void setWriteCoalescing(boolean writeCoalescing)
public void setWriteBatchSize(int writeBatchSize)
public void setRetryAttempts(int retryAttempts, int retryAttemptDelaySeconds)
public void setWriteBehindConcurrency(int writeBehindConcurrency)
public void setWriteBehindMaxQueueSize(int writeBehindMaxQueueSize)
public java.lang.Class<WriteBehindDecoratorLoaderWriterProvider> getServiceType()
ServiceConfiguration
getServiceType
in interface ServiceConfiguration<WriteBehindDecoratorLoaderWriterProvider>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |