public class GridDrSenderHubConnectionConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static GridDrReceiverHubLoadBalancingMode |
DFLT_RCV_HUB_LOAD_BALANCING_MODE
Default receiver hub load balancing policy.
|
| Constructor and Description |
|---|
GridDrSenderHubConnectionConfiguration()
Constructor.
|
GridDrSenderHubConnectionConfiguration(GridDrSenderHubConnectionConfiguration cfg)
Copying constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getDataCenterId()
Gets ID of remote data center.
|
byte[] |
getIgnoredDataCenterIds()
Gets IDs of data centers updates from which will not be replicated to this remote data center.
|
String |
getLocalOutboundHost()
Gets local network interface name form with remote data center is reachable.
|
String[] |
getReceiverHubAddresses()
Gets addresses of remote receiver hubs.
|
GridDrReceiverHubLoadBalancingMode |
getReceiverHubLoadBalancingMode()
Gets remote receiver hub load balancing policy.
|
void |
setDataCenterId(byte dataCenterId)
Sets ID of remote data center.
|
void |
setIgnoredDataCenterIds(byte... ignoreDataCenterIds)
Sets ignored data center IDs.
|
void |
setLocalOutboundHost(String locOutboundHost)
Sets local network interface name form with remote data center is reachable.
|
void |
setReceiverHubAddresses(String... rcvHubAddrs)
Sets addresses of remote receiver hubs.
|
void |
setReceiverHubLoadBalancingMode(GridDrReceiverHubLoadBalancingMode rcvHubLoadBalancingMode)
Sets remote receiver hub load balancing policy.
|
String |
toString() |
public static final GridDrReceiverHubLoadBalancingMode DFLT_RCV_HUB_LOAD_BALANCING_MODE
public GridDrSenderHubConnectionConfiguration()
public GridDrSenderHubConnectionConfiguration(GridDrSenderHubConnectionConfiguration cfg)
cfg - Configuration to copy.public byte getDataCenterId()
public void setDataCenterId(byte dataCenterId)
getDataCenterId() for more information.dataCenterId - ID of remote data center.public String[] getReceiverHubAddresses()
public void setReceiverHubAddresses(String... rcvHubAddrs)
getReceiverHubAddresses() for more information.rcvHubAddrs - Addresses of remote receiver hubs.public String getLocalOutboundHost()
By default is set to null meaning that sender hub will be bound to the same interface as the grid itself
(see GridConfiguration.getLocalHost())
public void setLocalOutboundHost(String locOutboundHost)
getLocalOutboundHost()
for more information.locOutboundHost - Local network interface name form with remote data center is reachable.public GridDrReceiverHubLoadBalancingMode getReceiverHubLoadBalancingMode()
This policy provides balancing mechanism in case remote data center has several receiver hubs.
Defaults to DFLT_RCV_HUB_LOAD_BALANCING_MODE.
*
public void setReceiverHubLoadBalancingMode(GridDrReceiverHubLoadBalancingMode rcvHubLoadBalancingMode)
getReceiverHubLoadBalancingMode()
for more information.rcvHubLoadBalancingMode - Remote receiver hub load balancing policy.public byte[] getIgnoredDataCenterIds()
A replicates to B, B replicates to C, and C
replicates back to A, then on C you should specify that updates from A
should be ignored to avoid a cycle.public void setIgnoredDataCenterIds(byte... ignoreDataCenterIds)
getIgnoredDataCenterIds()ignoreDataCenterIds - Ignored data center IDs.
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014