public class VisorDrSenderHubConnectionConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorDrSenderHubConnectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
Byte |
dataCenterId() |
void |
dataCenterId(Byte dataCenterId) |
static VisorDrSenderHubConnectionConfig |
from(GridDrSenderHubConnectionConfiguration rmtCfg) |
byte[] |
ignoredDataCenterIds() |
void |
ignoredDataCenterIds(byte[] ignoredDataCenterIds) |
String |
localOutboundHost() |
void |
localOutboundHost(String locOutboundHost) |
String[] |
receiverHubAddresses() |
void |
receiverHubAddresses(String[] receiverHubAddrs) |
GridDrReceiverHubLoadBalancingMode |
receiverHubLoadBalancingMode() |
void |
receiverHubLoadBalancingMode(GridDrReceiverHubLoadBalancingMode receiverHubLoadBalancingMode) |
String |
toString() |
public static VisorDrSenderHubConnectionConfig from(GridDrSenderHubConnectionConfiguration rmtCfg)
rmtCfg - Data center replication sender hub connection configuration.public Byte dataCenterId()
public void dataCenterId(Byte dataCenterId)
dataCenterId - New iD of remote data center this replica works with.public String[] receiverHubAddresses()
public void receiverHubAddresses(String[] receiverHubAddrs)
receiverHubAddrs - New addresses of remote receiver hubs.@Nullable public String localOutboundHost()
public void localOutboundHost(@Nullable String locOutboundHost)
locOutboundHost - New local network interface name to which this replica hub will be bound to.public GridDrReceiverHubLoadBalancingMode receiverHubLoadBalancingMode()
public void receiverHubLoadBalancingMode(GridDrReceiverHubLoadBalancingMode receiverHubLoadBalancingMode)
receiverHubLoadBalancingMode - New replica hub selection strategy.public byte[] ignoredDataCenterIds()
public void ignoredDataCenterIds(byte[] ignoredDataCenterIds)
ignoredDataCenterIds - New iDs of data centers updates from which will not be replicated to
this remote data center.Copyright © 2014. All rights reserved.