Class ClusterSessionsSnapshot

  • All Implemented Interfaces:
    Serializable

    public class ClusterSessionsSnapshot
    extends Object
    implements Serializable
    Snapshot containing information about all sessions of a cluster.
    See Also:
    Serialized Form
    API:
    This is a public API.
    • Method Detail

      • getSessionInfos

        public List<SessionInfo> getSessionInfos()
        Returns a list of SessionInfo for all Sessions available when the snapshot was taken.
        Returns:
        never null. If there are no sessions an empty list is returned.
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
      • getSessionInfos

        public List<SessionInfo> getSessionInfos​(String username)
        Returns a list containing all SessionInfos of the user with the name username at the time when the snapshot was taken.
        Parameters:
        username -
        Returns:
        never null. If the user has no sessions an empty list is returned.
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.