Class TransportConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.TransportConfiguration
-
public class TransportConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<String>
CLUSTER_NAME
static AttributeDefinition<Long>
DISTRIBUTED_SYNC_TIMEOUT
static AttributeDefinition<Integer>
INITIAL_CLUSTER_SIZE
static AttributeDefinition<Long>
INITIAL_CLUSTER_TIMEOUT
static AttributeDefinition<String>
MACHINE_ID
static AttributeDefinition<String>
NODE_NAME
static AttributeDefinition<TypedProperties>
PROPERTIES
static AttributeDefinition<String>
RACK_ID
static AttributeDefinition<String>
SITE_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttributeSet
attributes()
String
clusterName()
long
distributedSyncTimeout()
boolean
equals(Object obj)
int
hashCode()
boolean
hasTopologyInfo()
int
initialClusterSize()
long
initialClusterTimeout()
String
machineId()
String
nodeName()
TypedProperties
properties()
String
rackId()
ThreadPoolConfiguration
remoteCommandThreadPool()
String
siteId()
boolean
strictPeerToPeer()
Deprecated.Since 6.0, strictPeerToPeer is ignored and asymmetric clusters are always allowed.String
toString()
Transport
transport()
ThreadPoolConfiguration
transportThreadPool()
-
-
-
Field Detail
-
CLUSTER_NAME
public static final AttributeDefinition<String> CLUSTER_NAME
-
MACHINE_ID
public static final AttributeDefinition<String> MACHINE_ID
-
RACK_ID
public static final AttributeDefinition<String> RACK_ID
-
SITE_ID
public static final AttributeDefinition<String> SITE_ID
-
NODE_NAME
public static final AttributeDefinition<String> NODE_NAME
-
DISTRIBUTED_SYNC_TIMEOUT
public static final AttributeDefinition<Long> DISTRIBUTED_SYNC_TIMEOUT
-
INITIAL_CLUSTER_SIZE
public static final AttributeDefinition<Integer> INITIAL_CLUSTER_SIZE
-
INITIAL_CLUSTER_TIMEOUT
public static final AttributeDefinition<Long> INITIAL_CLUSTER_TIMEOUT
-
PROPERTIES
public static final AttributeDefinition<TypedProperties> PROPERTIES
-
-
Method Detail
-
clusterName
public String clusterName()
-
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 Transport transport()
-
nodeName
public String nodeName()
-
strictPeerToPeer
@Deprecated public boolean strictPeerToPeer()
Deprecated.Since 6.0, strictPeerToPeer is ignored and asymmetric clusters are always allowed.
-
properties
public TypedProperties properties()
-
hasTopologyInfo
public boolean hasTopologyInfo()
-
transportThreadPool
public ThreadPoolConfiguration transportThreadPool()
-
remoteCommandThreadPool
public ThreadPoolConfiguration remoteCommandThreadPool()
-
attributes
public AttributeSet attributes()
-
-