Class GatewaySessionManager

java.lang.Object
com.zfabrik.impl.gateway.home.GatewaySessionManager

public class GatewaySessionManager extends Object
Mapping session ids to worker processes, so we can keep dispatching to the right nodes.
  • Constructor Details

    • GatewaySessionManager

      public GatewaySessionManager()
  • Method Details

    • getSessionWorker

      public com.zfabrik.workers.home.IWorkerProcess getSessionWorker(String sessionId)
      Get the worker for a sessionId. If there is none, or none running, return null
      Parameters:
      sessionId -
      Returns:
    • getSize

      public int getSize()
    • updateSession

      public void updateSession(String sessionId, Long expiration, com.zfabrik.workers.home.IWorkerProcess wp)