@Deprecated public interface LegacyConfiguration
Modifier and Type | Method and Description |
---|---|
Element |
getBuddyReplicationConfig()
Deprecated.
Retrieves the buddy replication configuration element
|
Element |
getCacheLoaderConfig()
Deprecated.
Retrieves the cache loader configuration element
|
Element |
getCacheLoaderConfiguration()
Deprecated.
|
String |
getCacheMode()
Deprecated.
Returns the current caching mode.
|
Element |
getClusterConfig()
Deprecated.
Gets the JGroups protocol stack config in W3C DOM Element form.
|
String |
getClusterName()
Deprecated.
Get the name of the replication group
|
String |
getClusterProperties()
Deprecated.
Get the cluster properties (e.g.
|
Element |
getEvictionPolicyConfig()
Deprecated.
|
boolean |
getExposeManagementStatistics()
Deprecated.
Gets whether the cache should create interceptor mbeans
that are used to capture and publish interceptor statistics.
|
boolean |
getFetchInMemoryState()
Deprecated.
Returns whether or not any initial state transfer or subsequent partial
state transfer following an
activateRegion call should
include in-memory state. |
long |
getInitialStateRetrievalTimeout()
Deprecated.
|
String |
getIsolationLevel()
Deprecated.
Returns the transaction isolation level.
|
long |
getLockAcquisitionTimeout()
Deprecated.
Default max time to wait for a lock.
|
String |
getMultiplexerStack()
Deprecated.
Retrieves the JGroups multiplexer stack name if defined.
|
org.jgroups.ChannelFactory |
getMuxChannelFactory()
Deprecated.
|
String |
getNodeLockingScheme()
Deprecated.
|
String |
getReplicationVersion()
Deprecated.
Gets the format version of the data transferred during an initial state
transfer or a call to
Region.activate() . |
long |
getReplQueueInterval()
Deprecated.
|
int |
getReplQueueMaxElements()
Deprecated.
|
long |
getStateRetrievalTimeout()
Deprecated.
Get the max time to wait until the state is retrieved.
|
boolean |
getSyncCommitPhase()
Deprecated.
|
long |
getSyncReplTimeout()
Deprecated.
Returns the default max timeout after which synchronous replication calls return.
|
boolean |
getSyncRollbackPhase()
Deprecated.
|
TransactionManager |
getTransactionManager()
Deprecated.
|
String |
getTransactionManagerLookupClass()
Deprecated.
|
boolean |
getUseInterceptorMbeans()
Deprecated.
|
boolean |
getUseRegionBasedMarshalling()
Deprecated.
Gets whether marshalling uses scoped class loaders on a per region basis.
|
boolean |
getUseReplQueue()
Deprecated.
|
boolean |
isInactiveOnStartup()
Deprecated.
Gets whether the entire tree is inactive upon startup, only responding
to replication messages after activateRegion is
called to activate one or more parts of the tree.
|
void |
setBuddyReplicationConfig(Element config)
Deprecated.
Sets the buddy replication configuration element
|
void |
setCacheLoaderConfig(Element cacheLoaderConfig)
Deprecated.
|
void |
setCacheLoaderConfiguration(Element cache_loader_config)
Deprecated.
|
void |
setCacheMode(String mode)
Deprecated.
Sets the default caching mode)
|
void |
setClusterConfig(Element config)
Deprecated.
Convert a list of elements to the JG property string
|
void |
setClusterName(String name)
Deprecated.
Set the name of the replication group
|
void |
setClusterProperties(String cluster_props)
Deprecated.
Set the cluster properties.
|
void |
setEvictionPolicyConfig(Element config)
Deprecated.
Setup eviction policy configuration
|
void |
setExposeManagementStatistics(boolean expose)
Deprecated.
|
void |
setFetchInMemoryState(boolean flag)
Deprecated.
Sets whether or not any initial or subsequent partial state transfer
should include in-memory state.
|
void |
setInactiveOnStartup(boolean inactiveOnStartup)
Deprecated.
Sets whether the entire tree is inactive upon startup, only responding
to replication messages after
Region.activate() is
called to activate one or more parts of the tree. |
void |
setInitialStateRetrievalTimeout(long timeout)
Deprecated.
|
void |
setIsolationLevel(String level)
Deprecated.
Set the transaction isolation level.
|
void |
setLockAcquisitionTimeout(long timeout)
Deprecated.
Set the max time for lock acquisition.
|
void |
setMultiplexerStack(String stackName)
Deprecated.
Used with JGroups multiplexer, specifies stack to be used (e.g., fc-fast-minimalthreads)
This attribute is optional; if not provided, a default multiplexer stack will be used.
|
void |
setMuxChannelFactory(org.jgroups.ChannelFactory factory)
Deprecated.
|
void |
setNodeLockingScheme(String nodeLockingScheme)
Deprecated.
|
void |
setReplicationVersion(String version)
Deprecated.
Sets the format version of the data transferred during an initial state
transfer or a call to
Region.activate() . |
void |
setReplQueueInterval(long interval)
Deprecated.
|
void |
setReplQueueMaxElements(int max_elements)
Deprecated.
|
void |
setStateRetrievalTimeout(long timeout)
Deprecated.
Set the state transfer timeout (see
getStateRetrievalTimeout() ) |
void |
setSyncCommitPhase(boolean sync_commit_phase)
Deprecated.
|
void |
setSyncReplTimeout(long timeout)
Deprecated.
Sets the default maximum wait time for synchronous replication to receive all results
|
void |
setSyncRollbackPhase(boolean sync_rollback_phase)
Deprecated.
|
void |
setTransactionManager(TransactionManager manager)
Deprecated.
|
void |
setTransactionManagerLookupClass(String cl)
Deprecated.
Sets the class of the TransactionManagerLookup impl.
|
void |
setUseInterceptorMbeans(boolean expose)
Deprecated.
|
void |
setUseRegionBasedMarshalling(boolean isTrue)
Deprecated.
Sets whether marshalling uses scoped class loaders on a per region basis.
|
void |
setUseReplQueue(boolean flag)
Deprecated.
|
String getClusterName()
void setClusterName(String name)
void setUseRegionBasedMarshalling(boolean isTrue)
true
before any call to
Region.registerContextClassLoader(ClassLoader)
.isTrue
- boolean getUseRegionBasedMarshalling()
boolean getExposeManagementStatistics()
void setExposeManagementStatistics(boolean expose)
@Deprecated boolean getUseInterceptorMbeans()
getExposeManagementStatistics()
@Deprecated void setUseInterceptorMbeans(boolean expose)
setExposeManagementStatistics(boolean)
String getClusterProperties()
void setClusterProperties(String cluster_props)
cluster_props
- The properties for the cluster (JGroups)Element getCacheLoaderConfig()
setCacheLoaderConfig(Element)
or null
if nothing wasvoid setCacheLoaderConfig(Element cacheLoaderConfig)
@Deprecated Element getCacheLoaderConfiguration()
getCacheLoaderConfig()
@Deprecated void setCacheLoaderConfiguration(Element cache_loader_config)
setCacheLoaderConfig(org.w3c.dom.Element)
boolean getSyncCommitPhase()
void setSyncCommitPhase(boolean sync_commit_phase)
boolean getSyncRollbackPhase()
void setSyncRollbackPhase(boolean sync_rollback_phase)
Element getEvictionPolicyConfig()
setEvictionPolicyConfig(Element)
or null
if nothing wasvoid setEvictionPolicyConfig(Element config)
Element getClusterConfig()
null
if it was not
set via setClusterConfig(Element)
void setClusterConfig(Element config)
@Deprecated long getInitialStateRetrievalTimeout()
getStateRetrievalTimeout()
long getStateRetrievalTimeout()
@Deprecated void setInitialStateRetrievalTimeout(long timeout)
setStateRetrievalTimeout(long)
getInitialStateRetrievalTimeout()
)void setStateRetrievalTimeout(long timeout)
getStateRetrievalTimeout()
)String getCacheMode()
void setCacheMode(String mode) throws Exception
Exception
long getSyncReplTimeout()
void setSyncReplTimeout(long timeout)
boolean getUseReplQueue()
void setUseReplQueue(boolean flag)
long getReplQueueInterval()
void setReplQueueInterval(long interval)
int getReplQueueMaxElements()
void setReplQueueMaxElements(int max_elements)
String getIsolationLevel()
void setIsolationLevel(String level)
boolean getFetchInMemoryState()
activateRegion
call should
include in-memory state. Allows for warm/hot caches (true/false). The
characteristics of a state transfer can be further defined by a cache
loader's FetchPersistentState property.void setFetchInMemoryState(boolean flag)
String getReplicationVersion()
Region.activate()
. Different
releases of JBossCache may format this data differently; this property
identifies the format version being used by this cache instance.
The default value for this property is
Configuration.DEFAULT_REPLICATION_VERSION
.
124
for JBossCache 1.2.4void setReplicationVersion(String version)
Region.activate()
. Different
releases of JBossCache may format this data differently; this property
identifies the format version being used by this cache instance. Setting
this property to a value other than the default allows a cache instance
from a later release to interoperate with a cache instance from an
earlier release.version
- a short identifying JBossCache release;
e.g. 124
for JBossCache 1.2.4long getLockAcquisitionTimeout()
void setLockAcquisitionTimeout(long timeout)
timeout
- String getTransactionManagerLookupClass()
void setTransactionManagerLookupClass(String cl) throws Exception
cl
- Exception
TransactionManager getTransactionManager()
void setTransactionManager(TransactionManager manager)
void setNodeLockingScheme(String nodeLockingScheme)
String getNodeLockingScheme()
boolean isInactiveOnStartup()
Configuration.isUseRegionBasedMarshalling()
is
true
.void setInactiveOnStartup(boolean inactiveOnStartup)
Region.activate()
is
called to activate one or more parts of the tree.
This property is only relevant if Configuration.isUseRegionBasedMarshalling()
is
true
.void setBuddyReplicationConfig(Element config)
config
- Element getBuddyReplicationConfig()
setBuddyReplicationConfig(Element)
or null
if nothing wasString getMultiplexerStack()
void setMultiplexerStack(String stackName)
stackName
- the name of the multiplexer stackorg.jgroups.ChannelFactory getMuxChannelFactory()
void setMuxChannelFactory(org.jgroups.ChannelFactory factory)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.