org.infinispan.loaders.remote
Class RemoteCacheStoreConfig
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.PluggableConfigurationComponent
org.infinispan.loaders.AbstractCacheLoaderConfig
org.infinispan.loaders.AbstractCacheStoreConfig
org.infinispan.loaders.remote.RemoteCacheStoreConfig
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, CacheLoaderConfig, CacheStoreConfig
public class RemoteCacheStoreConfig
- extends AbstractCacheStoreConfig
Configuration for RemoteCacheStore.
Parameters:
- HotRodClientPropertiesFile-the file that contains the configuration of hotrod client. See Hotrod Java Client
for more details on the hotrod client.
- remoteCacheName-the name of the remote cache in the remote infinispan cluster, to which to connect to
- UseDefaultRemoteCache-if set to true, the default remote cache will be used, as obtained by
CacheContainer.getCache()
.
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
- See Also:
- Serialized Form
Methods inherited from class org.infinispan.loaders.AbstractCacheStoreConfig |
accept, clone, equals, equalsExcludingProperties, getAsyncStoreConfig, getPurgerThreads, getSingletonStoreConfig, hashCode, hashCodeExcludingProperties, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, setAsyncStoreConfig, setIgnoreModifications, setPurgerThreads, setPurgeSynchronously, setSingletonStoreConfig, toString |
RemoteCacheStoreConfig
public RemoteCacheStoreConfig()
setRemoteCacheName
public void setRemoteCacheName(String remoteCacheName)
getRemoteCacheName
public String getRemoteCacheName()
setUseDefaultRemoteCache
public void setUseDefaultRemoteCache(boolean useDefaultRemoteCache)
isUseDefaultRemoteCache
public boolean isUseDefaultRemoteCache()
setPurgeOnStartup
public void setPurgeOnStartup(Boolean purgeOnStartup)
- Specified by:
setPurgeOnStartup
in interface CacheStoreConfig
- Overrides:
setPurgeOnStartup
in class AbstractCacheStoreConfig
setFetchPersistentState
public void setFetchPersistentState(Boolean fetchPersistentState)
- Specified by:
setFetchPersistentState
in interface CacheStoreConfig
- Overrides:
setFetchPersistentState
in class AbstractCacheStoreConfig
getHotRodClientProperties
public Properties getHotRodClientProperties()
setHotRodClientProperties
public void setHotRodClientProperties(Properties props)
setHotRodClientPropertiesFile
public void setHotRodClientPropertiesFile(String hotRodClientProperties)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.