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_NAMEstatic AttributeDefinition<Long>DISTRIBUTED_SYNC_TIMEOUTstatic AttributeDefinition<Integer>INITIAL_CLUSTER_SIZEstatic AttributeDefinition<Long>INITIAL_CLUSTER_TIMEOUTstatic AttributeDefinition<String>MACHINE_IDstatic AttributeDefinition<String>NODE_NAMEstatic AttributeDefinition<TypedProperties>PROPERTIESstatic AttributeDefinition<String>RACK_IDstatic AttributeDefinition<String>SITE_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttributeSetattributes()StringclusterName()longdistributedSyncTimeout()booleanequals(Object obj)inthashCode()booleanhasTopologyInfo()intinitialClusterSize()longinitialClusterTimeout()StringmachineId()StringnodeName()TypedPropertiesproperties()StringrackId()ThreadPoolConfigurationremoteCommandThreadPool()StringsiteId()booleanstrictPeerToPeer()Deprecated.Since 6.0, strictPeerToPeer is ignored and asymmetric clusters are always allowed.StringtoString()Transporttransport()ThreadPoolConfigurationtransportThreadPool()
-
-
-
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()
-
-