Class HotRodSessionManager<C,MV,AV,SC>

java.lang.Object
org.wildfly.clustering.session.cache.AbstractSessionManager<C,MV,AV,SC>
org.wildfly.clustering.session.infinispan.remote.HotRodSessionManager<C,MV,AV,SC>
Type Parameters:
C - the session manager context type
MV - the meta-data value type
AV - the attributes value type
SC - the session context type
All Implemented Interfaces:
Manager<String>, ManagerConfiguration<String>, Service, SessionManager<SC>, SessionStatistics

public class HotRodSessionManager<C,MV,AV,SC> extends AbstractSessionManager<C,MV,AV,SC>
Generic HotRod-based session manager implementation - independent of cache mapping strategy.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • isStarted

      public boolean isStarted()
      Description copied from interface: Service
      Indicates whether or not this service is started.
      Returns:
      true, if this service is started, false otherwise
    • start

      public void start()
      Description copied from interface: Service
      Starts this service.
    • stop

      public void stop()
      Description copied from interface: Service
      Stops this service.
    • getBatchFactory

      public Supplier<Batch> getBatchFactory()
      Description copied from interface: Manager
      Returns a batcher for use by users of this manager.
      Specified by:
      getBatchFactory in interface Manager<C>
      Overrides:
      getBatchFactory in class AbstractSessionManager<C,MV,AV,SC>
      Returns:
      a batcher
    • getActiveSessions

      public Set<String> getActiveSessions()
      Description copied from interface: SessionStatistics
      Returns the identifiers of active sessions managed by this session manager.
      Returns:
      a set of session identifiers.
    • getSessions

      public Set<String> getSessions()
      Description copied from interface: SessionStatistics
      Returns the identifiers of all sessions managed by this session manager, including passive sessions.
      Returns:
      a set of session identifiers.