|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.GlobalConfiguration
public class GlobalConfiguration
Configuration component that encapsulates the global configuration.
A default instance of this bean takes default values for each attribute. Please see the individual setters for details of what these defaults are.
Nested Class Summary | |
---|---|
static interface |
GlobalConfiguration.ExecutorFactoryConfig<T>
Configures executor factory. |
static class |
GlobalConfiguration.ExecutorFactoryType
|
static interface |
GlobalConfiguration.ExternalizersConfig
ExternalizersConfig. |
static class |
GlobalConfiguration.ExternalizersType
Configures custom marshallers. |
static class |
GlobalConfiguration.FactoryClassWithPropertiesType
|
static interface |
GlobalConfiguration.GlobalJmxStatisticsConfig
Configures whether global statistics are gathered and reported via JMX for all caches under this cache manager. |
static class |
GlobalConfiguration.GlobalJmxStatisticsType
This element specifies whether global statistics are gathered and reported via JMX for all caches under this cache manager. |
static class |
GlobalConfiguration.ScheduledExecutorFactoryType
|
static interface |
GlobalConfiguration.SerializationConfig
Configures serialization and marshalling settings. |
static class |
GlobalConfiguration.SerializationType
Serialization and marshalling settings. |
static class |
GlobalConfiguration.ShutdownHookBehavior
Behavior of the JVM shutdown hook registered by the cache |
static class |
GlobalConfiguration.ShutdownType
This element specifies behavior when the JVM running the cache instance shuts down. |
static interface |
GlobalConfiguration.TransportConfig
Configures the transport used for network communications across the cluster. |
static class |
GlobalConfiguration.TransportType
This element configures the transport used for network communications across the cluster. |
Field Summary | |
---|---|
static short |
DEFAULT_MARSHALL_VERSION
Default replication version, from Version.getVersionShort() . |
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
EMPTY_PROPERTIES, log, overriddenConfigurationElements |
Constructor Summary | |
---|---|
GlobalConfiguration()
|
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short DEFAULT_MARSHALL_VERSION
Version.getVersionShort()
.
Constructor Detail |
---|
public GlobalConfiguration()
Method Detail |
---|
public GlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> configureAsyncListenerExecutor()
public GlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> configureAsyncTransportExecutor()
public GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> configureEvictionScheduledExecutor()
public GlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> configureReplicationQueueScheduledExecutor()
public GlobalConfiguration.GlobalJmxStatisticsConfig configureGlobalJmxStatistics()
public GlobalConfiguration.SerializationConfig configureSerialization()
public GlobalConfiguration.TransportConfig configureTransport()
public boolean isExposeGlobalJmxStatistics()
@Deprecated public void setExposeGlobalJmxStatistics(boolean exposeGlobalJmxStatistics)
exposeGlobalJmxStatistics
- @Deprecated public void setJmxDomain(String jmxObjectName)
jmxObjectName
- public String getJmxDomain()
setJmxDomain(String)
public String getMBeanServerLookup()
public Properties getMBeanServerProperties()
@Deprecated public void setMBeanServerProperties(Properties properties)
properties
- properties to pass to the MBean Server Lookup@Deprecated public void setMBeanServerLookup(String mBeanServerLookupClass)
mBeanServerLookupClass
- fully qualified class name of the MBean Server Lookup class implementation@Deprecated public void setMBeanServerLookup(MBeanServerLookup mBeanServerLookup)
setMBeanServerLookupInstance(org.infinispan.jmx.MBeanServerLookup)
instead.
@Deprecated public void setMBeanServerLookupInstance(MBeanServerLookup mBeanServerLookupInstance)
MBeanServerLookup
class to be used to
bound JMX MBeans to.
mBeanServerLookupInstance
- An instance of MBeanServerLookup
public MBeanServerLookup getMBeanServerLookupInstance()
public boolean isAllowDuplicateDomains()
@Deprecated public void setAllowDuplicateDomains(boolean allowDuplicateDomains)
allowDuplicateDomains
- public String getCacheManagerName()
@Deprecated public void setCacheManagerName(String cacheManagerName)
cacheManagerName
- public boolean isStrictPeerToPeer()
@Deprecated public void setStrictPeerToPeer(boolean strictPeerToPeer)
strictPeerToPeer
- flag controlling this behaviorpublic boolean hasTopologyInfo()
protected boolean hasComponentStarted()
AbstractConfigurationBean
hasComponentStarted
in class AbstractConfigurationBean
public String getAsyncListenerExecutorFactoryClass()
@Deprecated public void setAsyncListenerExecutorFactoryClass(String asyncListenerExecutorFactoryClass)
public String getAsyncTransportExecutorFactoryClass()
@Deprecated public void setAsyncTransportExecutorFactoryClass(String asyncTransportExecutorFactoryClass)
public String getEvictionScheduledExecutorFactoryClass()
@Deprecated public void setEvictionScheduledExecutorFactoryClass(String evictionScheduledExecutorFactoryClass)
public String getReplicationQueueScheduledExecutorFactoryClass()
@Deprecated public void setReplicationQueueScheduledExecutorFactoryClass(String replicationQueueScheduledExecutorFactoryClass)
public String getMarshallerClass()
@Deprecated public void setMarshallerClass(String marshallerClass)
marshallerClass
- public String getTransportNodeName()
@Deprecated public void setTransportNodeName(String nodeName)
nodeName
- public String getTransportClass()
@Deprecated public void setTransportClass(String transportClass)
transportClass
- public Properties getTransportProperties()
@Deprecated public void setTransportProperties(Properties transportProperties)
@Deprecated public void setTransportProperties(String transportPropertiesString)
public String getClusterName()
@Deprecated public void setClusterName(String clusterName)
clusterName
- @Deprecated public void setMachineId(String machineId)
public String getMachineId()
setMachineId(String)
@Deprecated public void setRackId(String rackId)
public String getRackId()
setRackId(String)
@Deprecated public void setSiteId(String siteId)
public String getSiteId()
setSiteId(String)
public GlobalConfiguration.ShutdownHookBehavior getShutdownHookBehavior()
public void setShutdownHookBehavior(GlobalConfiguration.ShutdownHookBehavior shutdownHookBehavior)
shutdownHookBehavior
- public void setShutdownHookBehavior(String shutdownHookBehavior)
public Properties getAsyncListenerExecutorProperties()
@Deprecated public void setAsyncListenerExecutorProperties(Properties asyncListenerExecutorProperties)
@Deprecated public void setAsyncListenerExecutorProperties(String asyncListenerExecutorPropertiesString)
public Properties getAsyncTransportExecutorProperties()
@Deprecated public void setAsyncTransportExecutorProperties(Properties asyncTransportExecutorProperties)
@Deprecated public void setAsyncTransportExecutorProperties(String asyncSerializationExecutorPropertiesString)
public Properties getEvictionScheduledExecutorProperties()
@Deprecated public void setEvictionScheduledExecutorProperties(Properties evictionScheduledExecutorProperties)
@Deprecated public void setEvictionScheduledExecutorProperties(String evictionScheduledExecutorPropertiesString)
public Properties getReplicationQueueScheduledExecutorProperties()
@Deprecated public void setReplicationQueueScheduledExecutorProperties(Properties replicationQueueScheduledExecutorProperties)
@Deprecated public void setReplicationQueueScheduledExecutorProperties(String replicationQueueScheduledExecutorPropertiesString)
public short getMarshallVersion()
public String getMarshallVersionString()
@Deprecated public void setMarshallVersion(short marshallVersion)
marshallVersion
- @Deprecated public void setMarshallVersion(String marshallVersion)
marshallVersion
- public void addExternalizer(Externalizer... externalizers)
Externalizer
implementations.
externalizers
- public void addExternalizer(int id, Externalizer externalizer)
Externalizer
implementation
alongside its corresponding identifier. Remember that the identifier needs to a be positive
number, including 0, and cannot clash with other identifiers in the system.
id
- externalizer
- public void setExternalizersType(GlobalConfiguration.ExternalizersType externalizersType)
public GlobalConfiguration.ExternalizersType getExternalizersType()
public long getDistributedSyncTimeout()
@Deprecated public void setDistributedSyncTimeout(long distributedSyncTimeout)
public void accept(ConfigurationBeanVisitor v)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public GlobalConfiguration clone()
clone
in interface CloneableConfigurationComponent
clone
in class AbstractConfigurationBean
public static GlobalConfiguration getClusteredDefault()
public static GlobalConfiguration getNonClusteredDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |