Class TransportConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.TransportConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
public class TransportConfiguration extends Object implements ConfigurationInfo
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
CLUSTER_NAME
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Long>
DISTRIBUTED_SYNC_TIMEOUT
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
INITIAL_CLUSTER_SIZE
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Long>
INITIAL_CLUSTER_TIMEOUT
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
MACHINE_ID
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
NODE_NAME
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
RACK_ID
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
REMOTE_EXECUTOR
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
SITE_ID
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
STACK
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
TRANSPORT_EXECUTOR
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
String
clusterName()
long
distributedSyncTimeout()
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
boolean
hasTopologyInfo()
int
initialClusterSize()
long
initialClusterTimeout()
JGroupsConfiguration
jgroups()
String
machineId()
String
nodeName()
TypedProperties
properties()
String
rackId()
ThreadPoolConfiguration
remoteCommandThreadPool()
Deprecated.String
remoteThreadPoolName()
String
siteId()
String
stack()
org.infinispan.remoting.transport.Transport
transport()
ThreadPoolConfiguration
transportThreadPool()
Deprecated.String
transportThreadPoolName()
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
CLUSTER_NAME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> CLUSTER_NAME
-
MACHINE_ID
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> MACHINE_ID
-
RACK_ID
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> RACK_ID
-
SITE_ID
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> SITE_ID
-
NODE_NAME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> NODE_NAME
-
DISTRIBUTED_SYNC_TIMEOUT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Long> DISTRIBUTED_SYNC_TIMEOUT
-
INITIAL_CLUSTER_SIZE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> INITIAL_CLUSTER_SIZE
-
INITIAL_CLUSTER_TIMEOUT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Long> INITIAL_CLUSTER_TIMEOUT
-
STACK
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> STACK
-
TRANSPORT_EXECUTOR
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> TRANSPORT_EXECUTOR
-
REMOTE_EXECUTOR
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> REMOTE_EXECUTOR
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
clusterName
public String clusterName()
-
stack
public String stack()
-
machineId
public String machineId()
-
rackId
public String rackId()
-
siteId
public String siteId()
-
distributedSyncTimeout
public long distributedSyncTimeout()
-
initialClusterSize
public int initialClusterSize()
-
initialClusterTimeout
public long initialClusterTimeout()
-
transport
public org.infinispan.remoting.transport.Transport transport()
-
nodeName
public String nodeName()
-
properties
public TypedProperties properties()
-
hasTopologyInfo
public boolean hasTopologyInfo()
-
transportThreadPool
@Deprecated public ThreadPoolConfiguration transportThreadPool()
Deprecated.
-
remoteCommandThreadPool
@Deprecated public ThreadPoolConfiguration remoteCommandThreadPool()
Deprecated.
-
transportThreadPoolName
public String transportThreadPoolName()
-
remoteThreadPoolName
public String remoteThreadPoolName()
-
jgroups
public JGroupsConfiguration jgroups()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
-