- All Implemented Interfaces:
io.atomix.utils.Identifier<Long>
public class SessionId
extends io.atomix.utils.AbstractIdentifier<Long>
Session identifier.
-
-
Method Summary
| Modifier and Type |
Method |
Description |
static SessionId |
from(long id) |
Returns a new session ID from the given identifier.
|
Methods inherited from class io.atomix.utils.AbstractIdentifier
equals, hashCode, id, toString
-
Constructor Details
-
public SessionId(
Long value)
-
Method Details
-
Returns a new session ID from the given identifier.
- Parameters:
id - the identifier from which to create a session ID
- Returns:
- a new session identifier