Class ACMSDKHelpers.UserAffinity

  • Enclosing class:
    ACMSDKHelpers

    public static class ACMSDKHelpers.UserAffinity
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UserAffinity()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void refreshUserAffinityFlag​(java.lang.String iServerName, int iServerPort, int iApplicationType)
      refreshUserAffinityFlag interacts with the "maps" to refresh the User Affinity flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserAffinity

        public UserAffinity()
    • Method Detail

      • refreshUserAffinityFlag

        public static void refreshUserAffinityFlag​(java.lang.String iServerName,
                                                   int iServerPort,
                                                   int iApplicationType)
                                            throws MSTRWebAPIException
        refreshUserAffinityFlag interacts with the "maps" to refresh the User Affinity flag. We must call the IServer to retrieve the flag because the setting lives in IServer. In the past, a call to IServer was made to create a session and the User Affinity might throw an error prompting the create session to retry on a different IServer. But, we need more sophistication than that. We need to know if User Affinity is on so that we can optimize before calling so that we can decide where sessions will be created ahead of time.
        Parameters:
        iServerName -
        iServerPort -
        iApplicationType -
        Throws:
        MSTRWebAPIException