Class ACMSessionIdResolver

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ACMSessionIdResolver
    extends java.lang.Object
    implements java.lang.AutoCloseable
    ACMSessionIdResolver manages the maps that keep track of the relationships between ConfigSessionId, Jwt, Users, ProjectIds, and ProjectSessionIds. Utilizing those maps the ACMSessionIdResolver is able to make decisions as to which IServers should be used to create sessions, given the project and other factors like (1) number of existing sessions, (2) user fencing, and (3) load balancing
    • Method Detail

      • getProcessFlags

        public long getProcessFlags()
        getProcessFlags is used by the application to set the way session management operates. Possible flags include:
      • RECONSTRUCT_SESSIONS will receive config and project sessions from save/restore and then only reconstruct a config session
      • COMPARE_PORTS will use the port of IServer to differentiate IServers. This allows more than one IServer to exist on the same ip address
      • ONLY_RECONSTRUCT_CONFIG_SESSION will receive config and project sessions from save/restore and then only reconstruct a config session. RECONSTRUCT_SESSIONS flag must also be on.
Returns:
the process flags which is a bit map
Returns:
true is the flag is on