public class ServerNode
extends java.lang.Object
Constructor | Description |
---|---|
ServerNode() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
getIsReplica() |
Specifies whether the server node is replica or not.
|
int |
getPort() |
Gets the port of server node.
|
java.lang.String |
getServerIP() |
Gets the IP Address of server node.
|
void |
setIsReplica(boolean value) |
Specifies whether the server node is replica or not.
|
void |
setPort(int value) |
Sets the port of server node
|
void |
setServerIP(java.lang.String value) |
Sets the IP Address of server node.
|
public final java.lang.String getServerIP()
public final void setServerIP(java.lang.String value)
value
- The IP Address of server node.public final int getPort()
public final void setPort(int value)
value
- The port of server node.public final boolean getIsReplica()
public final void setIsReplica(boolean value)
value
- The boolean value indicating whether server node is replia or not.