Class TransportConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.TransportConfiguration
-
public class TransportConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.String>CLUSTER_NAMEstatic AttributeDefinition<java.lang.Long>DISTRIBUTED_SYNC_TIMEOUTstatic AttributeDefinition<java.lang.Integer>INITIAL_CLUSTER_SIZEstatic AttributeDefinition<java.lang.Long>INITIAL_CLUSTER_TIMEOUTstatic AttributeDefinition<java.lang.String>MACHINE_IDstatic AttributeDefinition<java.lang.String>NODE_NAMEstatic AttributeDefinition<TypedProperties>PROPERTIESstatic AttributeDefinition<java.lang.String>RACK_IDstatic AttributeDefinition<java.lang.String>SITE_ID
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttributeSetattributes()java.lang.StringclusterName()longdistributedSyncTimeout()booleanequals(java.lang.Object obj)inthashCode()booleanhasTopologyInfo()intinitialClusterSize()longinitialClusterTimeout()java.lang.StringmachineId()java.lang.StringnodeName()TypedPropertiesproperties()java.lang.StringrackId()ThreadPoolConfigurationremoteCommandThreadPool()java.lang.StringsiteId()booleanstrictPeerToPeer()Deprecated.Since 6.0, strictPeerToPeer is ignored and asymmetric clusters are always allowed.java.lang.StringtoString()Transporttransport()ThreadPoolConfigurationtransportThreadPool()
-
-
-
Field Detail
-
CLUSTER_NAME
public static final AttributeDefinition<java.lang.String> CLUSTER_NAME
-
MACHINE_ID
public static final AttributeDefinition<java.lang.String> MACHINE_ID
-
RACK_ID
public static final AttributeDefinition<java.lang.String> RACK_ID
-
SITE_ID
public static final AttributeDefinition<java.lang.String> SITE_ID
-
NODE_NAME
public static final AttributeDefinition<java.lang.String> NODE_NAME
-
DISTRIBUTED_SYNC_TIMEOUT
public static final AttributeDefinition<java.lang.Long> DISTRIBUTED_SYNC_TIMEOUT
-
INITIAL_CLUSTER_SIZE
public static final AttributeDefinition<java.lang.Integer> INITIAL_CLUSTER_SIZE
-
INITIAL_CLUSTER_TIMEOUT
public static final AttributeDefinition<java.lang.Long> INITIAL_CLUSTER_TIMEOUT
-
PROPERTIES
public static final AttributeDefinition<TypedProperties> PROPERTIES
-
-
Method Detail
-
clusterName
public java.lang.String clusterName()
-
machineId
public java.lang.String machineId()
-
rackId
public java.lang.String rackId()
-
siteId
public java.lang.String siteId()
-
distributedSyncTimeout
public long distributedSyncTimeout()
-
initialClusterSize
public int initialClusterSize()
-
initialClusterTimeout
public long initialClusterTimeout()
-
transport
public Transport transport()
-
nodeName
public java.lang.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()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-