org.jboss.cache.loader
Class AsyncCacheLoaderConfig

java.lang.Object
  extended by org.jboss.cache.config.ConfigurationComponent
      extended by org.jboss.cache.config.PluggableConfigurationComponent
          extended by org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
              extended by org.jboss.cache.loader.AsyncCacheLoaderConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent

public class AsyncCacheLoaderConfig
extends CacheLoaderConfig.IndividualCacheLoaderConfig

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
 
Field Summary
 
Fields inherited from class org.jboss.cache.config.PluggableConfigurationComponent
className, properties
 
Fields inherited from class org.jboss.cache.config.ConfigurationComponent
log
 
Constructor Summary
AsyncCacheLoaderConfig()
          Default constructor.
 
Method Summary
 AsyncCacheLoaderConfig clone()
           
 boolean equals(Object obj)
           
 int getBatchSize()
           
 int getQueueSize()
           
 boolean getReturnOld()
           
 int getThreadPoolSize()
           
 boolean getUseAsyncPut()
           
 int hashCode()
           
 void setBatchSize(int batchSize)
           
 void setProperties(Properties props)
           
 void setQueueSize(int queueSize)
           
 void setReturnOld(boolean returnOld)
           
 void setThreadPoolSize(int threadPoolSize)
           
 void setUseAsyncPut(boolean useAsyncPut)
           
 
Methods inherited from class org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig
equalsExcludingProperties, getCacheLoader, getSingletonStoreConfig, hashCodeExcludingProperties, isAsync, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, populateFromBaseConfig, setAsync, setCacheLoader, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setSingletonStoreConfig, toString
 
Methods inherited from class org.jboss.cache.config.PluggableConfigurationComponent
getClassName, getProperties, setClassName, setProperties
 
Methods inherited from class org.jboss.cache.config.ConfigurationComponent
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsyncCacheLoaderConfig

public AsyncCacheLoaderConfig()
Default constructor.

Method Detail

getThreadPoolSize

public int getThreadPoolSize()

setThreadPoolSize

public void setThreadPoolSize(int threadPoolSize)

getBatchSize

public int getBatchSize()

setBatchSize

public void setBatchSize(int batchSize)

getQueueSize

public int getQueueSize()

setQueueSize

public void setQueueSize(int queueSize)

getReturnOld

public boolean getReturnOld()

setReturnOld

public void setReturnOld(boolean returnOld)

getUseAsyncPut

public boolean getUseAsyncPut()

setUseAsyncPut

public void setUseAsyncPut(boolean useAsyncPut)

setProperties

public void setProperties(Properties props)
Overrides:
setProperties in class PluggableConfigurationComponent

equals

public boolean equals(Object obj)
Overrides:
equals in class CacheLoaderConfig.IndividualCacheLoaderConfig

hashCode

public int hashCode()
Overrides:
hashCode in class CacheLoaderConfig.IndividualCacheLoaderConfig

clone

public AsyncCacheLoaderConfig clone()
                             throws CloneNotSupportedException
Specified by:
clone in interface CloneableConfigurationComponent
Overrides:
clone in class CacheLoaderConfig.IndividualCacheLoaderConfig
Throws:
CloneNotSupportedException


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