Class SessionId

java.lang.Object
io.atomix.utils.AbstractIdentifier<Long>
io.atomix.primitive.session.SessionId
All Implemented Interfaces:
io.atomix.utils.Identifier<Long>

public class SessionId
extends io.atomix.utils.AbstractIdentifier<Long>
Session identifier.
  • Constructor Summary

    Constructors 
    Constructor Description
    SessionId​(Long value)  
  • 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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • from

      public static SessionId from​(long id)
      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