public class VoidConfiguration extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected NodeRole |
forcedRole
This option is for debugging mostly.
|
| Constructor and Description |
|---|
VoidConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNetworkMask()
This method returns network mask
|
void |
setBackupAddresses(List<String> addresses) |
void |
setBackupAddresses(String... ips) |
void |
setExecutionMode(ExecutionMode executionMode) |
void |
setNetworkMask(String netmask)
This option is very important: in shared network environment and yarn (like on EC2 etc),
please set this to the network, which will be available on all boxes.
|
void |
setShardAddresses(List<String> addresses) |
void |
setShardAddresses(String... ips) |
void |
setStreamId(int streamId) |
protected void |
validateNetmask() |
protected NodeRole forcedRole
public void setStreamId(int streamId)
protected void validateNetmask()
public void setNetworkMask(@NonNull
String netmask)
netmask - netmask to be used for IP address selectionpublic String getNetworkMask()
public void setShardAddresses(String... ips)
public void setBackupAddresses(String... ips)
public void setExecutionMode(@NonNull
ExecutionMode executionMode)
Copyright © 2017. All rights reserved.