|
|||||||||
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()
the number of seconds to wait before retrying an failed operation. |
int |
getRetryAttempts()
the number of times the write of element is retried. |
java.lang.Class<WriteBehindDecoratorLoaderWriterProvider> |
getServiceType()
Indicates which service this configuration works with. |
int |
getWriteBatchSize()
the size of the batch operation. |
int |
getWriteBehindConcurrency()
the amount of bucket/thread pairs configured for this cache's write behind |
int |
getWriteBehindMaxQueueSize()
the maximum amount of operations allowed on the write behind queue |
boolean |
isWriteBatching()
whether write operations should be batched |
boolean |
isWriteCoalescing()
write coalescing behavior |
void |
setMaxWriteDelay(int maxWriteDelay)
|
void |
setMinWriteDelay(int minWriteDelay)
|
void |
setRateLimitPerSecond(int rateLimitPerSecond)
|
void |
setRetryAttemptDelaySeconds(int retryAttemptDelaySeconds)
|
void |
setRetryAttempts(int retryAttempts)
|
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
getMinWriteDelay
in interface WriteBehindConfiguration
public int getMaxWriteDelay()
WriteBehindConfiguration
getMaxWriteDelay
in interface WriteBehindConfiguration
public int getRateLimitPerSecond()
WriteBehindConfiguration
getRateLimitPerSecond
in interface WriteBehindConfiguration
public boolean isWriteCoalescing()
WriteBehindConfiguration
isWriteCoalescing
in interface WriteBehindConfiguration
public boolean isWriteBatching()
WriteBehindConfiguration
isWriteBatching
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)
public void setRetryAttemptDelaySeconds(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 |