|
||||||||||
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.TransportType
public static class GlobalConfiguration.TransportType
This element configures the transport used for network communications across the cluster.
Field Summary | |
---|---|
protected String |
clusterName
|
protected Long |
distributedSyncTimeout
|
protected String |
machineId
|
protected String |
nodeName
|
protected TypedProperties |
properties
|
protected String |
rackId
|
protected String |
siteId
|
protected Boolean |
strictPeerToPeer
|
protected String |
transportClass
|
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
EMPTY_PROPERTIES, log, overriddenConfigurationElements |
Constructor Summary | |
---|---|
GlobalConfiguration.TransportType()
|
|
GlobalConfiguration.TransportType(String transportClass)
|
Method Summary | |
---|---|
void |
accept(ConfigurationBeanVisitor v)
|
Object |
addProperty(String key,
String value)
|
GlobalConfiguration.TransportType |
clone()
|
GlobalConfiguration.TransportConfig |
clusterName(String clusterName)
Defines the name of the cluster. |
GlobalConfiguration.TransportConfig |
distributedSyncTimeout(Long distributedSyncTimeout)
|
protected boolean |
hasComponentStarted()
Tests whether the component this configuration bean intents to configure has already started. |
void |
inject(GlobalComponentRegistry gcr)
|
GlobalConfiguration.TransportConfig |
machineId(String machineId)
The id of the machine where this node runs. |
GlobalConfiguration.TransportConfig |
nodeName(String nodeName)
Name of the current node. |
GlobalConfiguration.TransportConfig |
rackId(String rackId)
The id of the rack where this node runs. |
void |
setClusterName(String clusterName)
|
void |
setDistributedSyncTimeout(Long distributedSyncTimeout)
|
void |
setMachineId(String machineId)
|
void |
setNodeName(String nodeName)
|
void |
setProperties(TypedProperties properties)
|
void |
setRackId(String rackId)
|
void |
setSiteId(String siteId)
|
void |
setStrictPeerToPeer(Boolean strictPeerToPeer)
|
void |
setTransportClass(String transportClass)
|
GlobalConfiguration.TransportConfig |
siteId(String siteId)
The id of the site where this node runs. |
GlobalConfiguration.TransportConfig |
strictPeerToPeer(Boolean strictPeerToPeer)
If set to true, RPC operations will fail if the named cache does not exist on remote nodes with a NamedCacheNotFoundException. |
GlobalConfiguration.TransportConfig |
transportClass(Class<? extends Transport> transportClass)
Class that represents a network transport. |
GlobalConfiguration.TransportConfig |
withProperties(Properties properties)
Sets transport properties |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String clusterName
protected String machineId
protected String rackId
protected String siteId
protected Boolean strictPeerToPeer
protected Long distributedSyncTimeout
protected String transportClass
protected String nodeName
protected TypedProperties properties
Constructor Detail |
---|
public GlobalConfiguration.TransportType()
public GlobalConfiguration.TransportType(String transportClass)
Method Detail |
---|
public void accept(ConfigurationBeanVisitor v)
public GlobalConfiguration.TransportConfig clusterName(String clusterName)
GlobalConfiguration.TransportConfig
clusterName
in interface GlobalConfiguration.TransportConfig
public GlobalConfiguration.TransportConfig machineId(String machineId)
GlobalConfiguration.TransportConfig
machineId
in interface GlobalConfiguration.TransportConfig
public GlobalConfiguration.TransportConfig rackId(String rackId)
GlobalConfiguration.TransportConfig
rackId
in interface GlobalConfiguration.TransportConfig
public GlobalConfiguration.TransportConfig siteId(String siteId)
GlobalConfiguration.TransportConfig
siteId
in interface GlobalConfiguration.TransportConfig
public void setClusterName(String clusterName)
public void setMachineId(String machineId)
public void setRackId(String rackId)
public void setSiteId(String siteId)
public GlobalConfiguration.TransportConfig distributedSyncTimeout(Long distributedSyncTimeout)
distributedSyncTimeout
in interface GlobalConfiguration.TransportConfig
public void setDistributedSyncTimeout(Long distributedSyncTimeout)
public void setTransportClass(String transportClass)
public GlobalConfiguration.TransportConfig transportClass(Class<? extends Transport> transportClass)
GlobalConfiguration.TransportConfig
transportClass
in interface GlobalConfiguration.TransportConfig
public GlobalConfiguration.TransportConfig nodeName(String nodeName)
GlobalConfiguration.TransportConfig
nodeName
in interface GlobalConfiguration.TransportConfig
public void setNodeName(String nodeName)
public void setProperties(TypedProperties properties)
public GlobalConfiguration.TransportConfig withProperties(Properties properties)
GlobalConfiguration.TransportConfig
withProperties
in interface GlobalConfiguration.TransportConfig
public Object addProperty(String key, String value)
addProperty
in interface GlobalConfiguration.TransportConfig
public GlobalConfiguration.TransportConfig strictPeerToPeer(Boolean strictPeerToPeer)
GlobalConfiguration.TransportConfig
strictPeerToPeer
in interface GlobalConfiguration.TransportConfig
strictPeerToPeer
- flag controlling this behaviorpublic void setStrictPeerToPeer(Boolean strictPeerToPeer)
public GlobalConfiguration.TransportType clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
CloneNotSupportedException
public void inject(GlobalComponentRegistry gcr)
protected boolean hasComponentStarted()
AbstractConfigurationBean
hasComponentStarted
in class AbstractConfigurationBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |