org.infinispan.loaders.decorators
Class AsyncStoreConfig

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.loaders.decorators.AsyncStoreConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent

public class AsyncStoreConfig
extends AbstractNamedCacheConfigurationBean

Configuration for the async cache loader

Since:
4.0
Author:
Manik Surtani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
AsyncStoreConfig()
           
 
Method Summary
 AsyncStoreConfig clone()
           
 int getBatchSize()
           
 long getPollWait()
           
 int getQueueSize()
           
 int getThreadPoolSize()
           
 boolean isEnabled()
           
 void setBatchSize(int batchSize)
           
 void setEnabled(boolean enabled)
           
 void setPollWait(long pollWait)
           
 void setQueueSize(int queueSize)
           
 void setThreadPoolSize(int threadPoolSize)
           
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
hasComponentStarted
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncStoreConfig

public AsyncStoreConfig()
Method Detail

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

getBatchSize

public int getBatchSize()

setBatchSize

public void setBatchSize(int batchSize)

getPollWait

public long getPollWait()

setPollWait

public void setPollWait(long pollWait)

getQueueSize

public int getQueueSize()

setQueueSize

public void setQueueSize(int queueSize)

getThreadPoolSize

public int getThreadPoolSize()

setThreadPoolSize

public void setThreadPoolSize(int threadPoolSize)

clone

public AsyncStoreConfig clone()
Specified by:
clone in interface CloneableConfigurationComponent
Overrides:
clone in class AbstractConfigurationBean


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.