Serializable
public final class ServerCursor extends Object implements Serializable
Constructor | Description |
---|---|
ServerCursorβ(long id,
ServerAddress address) |
Construct an instance.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equalsβ(Object o) |
|
ServerAddress |
getAddressβ() |
Gets the server address.
|
long |
getIdβ() |
Gets the cursor id that the server uses to uniquely identify the cursor.
|
int |
hashCodeβ() |
|
String |
toStringβ() |
public ServerCursorβ(long id, ServerAddress address)
id
- the non-null cursor idaddress
- the non-null server address that has the cursorpublic long getIdβ()
public ServerAddress getAddressβ()