|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface GlobalConfiguration.TransportConfig
Configures the transport used for network communications across the cluster.
Method Summary | |
---|---|
Object |
addProperty(String key,
String value)
|
GlobalConfiguration.TransportConfig |
clusterName(String clusterName)
Defines the name of the cluster. |
GlobalConfiguration.TransportConfig |
distributedSyncTimeout(Long distributedSyncTimeout)
|
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. |
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 |
Method Detail |
---|
GlobalConfiguration.TransportConfig clusterName(String clusterName)
clusterName
- GlobalConfiguration.TransportConfig machineId(String machineId)
GlobalConfiguration.TransportConfig rackId(String rackId)
GlobalConfiguration.TransportConfig siteId(String siteId)
GlobalConfiguration.TransportConfig distributedSyncTimeout(Long distributedSyncTimeout)
GlobalConfiguration.TransportConfig transportClass(Class<? extends Transport> transportClass)
transportClass
- GlobalConfiguration.TransportConfig nodeName(String nodeName)
nodeName
- GlobalConfiguration.TransportConfig withProperties(Properties properties)
properties
-
GlobalConfiguration.TransportConfig strictPeerToPeer(Boolean strictPeerToPeer)
strictPeerToPeer
- flag controlling this behaviorObject addProperty(String key, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |