org.infinispan.config
Class RuntimeConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.RuntimeConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent
public class RuntimeConfig
- extends AbstractNamedCacheConfigurationBean
- See Also:
- Serialized Form
RuntimeConfig
public RuntimeConfig()
reset
public void reset()
- Resets the runtime to default values.
getTransactionManager
public TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
getAsyncSerializationExecutor
public ExecutorService getAsyncSerializationExecutor()
- This is only relevant if the async cache replication executor has been set using
setAsyncSerializationExecutor(ExecutorService)
. If the executor is created internally, this method will return
null.
- Returns:
- the executor used for async replication.
setAsyncSerializationExecutor
public void setAsyncSerializationExecutor(ExecutorService asyncSerializationExecutor)
- This is used to set the executor to use for asynchronous cache operations.
- Parameters:
asyncSerializationExecutor
- executor to set
getAsyncCacheListenerExecutor
public ExecutorService getAsyncCacheListenerExecutor()
- This is only relevant if the async cache listener executor has been set using
setAsyncCacheListenerExecutor(java.util.concurrent.ExecutorService)
. If the executor is created internally, this
method will return null.
- Returns:
- the executor to use for async cache listeners
setAsyncCacheListenerExecutor
public void setAsyncCacheListenerExecutor(ExecutorService asyncCacheListenerExecutor)
- This is used to set the executor to use for asynchronous cache listeners.
- Parameters:
asyncCacheListenerExecutor
- the executor to use for async cache listeners
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setRPCManager
public void setRPCManager(RpcManager rpcManager)
getRPCManager
public RpcManager getRPCManager()
clone
public RuntimeConfig clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class AbstractConfigurationBean
- Throws:
CloneNotSupportedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.