Interface Redirector

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Redirector.Context
      Interface implemented by Ring instances to allow passing in the context necessary for making strategy decisions.
    • Method Detail

      • getProxyOrNull

        Glacier2.SessionPrx getProxyOrNull​(Redirector.Context context,
                                           java.lang.String userId,
                                           Glacier2.SessionControlPrx control,
                                           Ice.Current current)
                                    throws Glacier2.CannotCreateSessionException
        Create or retrieve and returns a SessionPrx which the current method takes control of. If it is not returned, then it should be properly destroyed.
        Parameters:
        userId - Not null.
        control -
        current -
        Returns:
        Possibly null.
        Throws:
        Glacier2.CannotCreateSessionException
      • chooseNextRedirect

        void chooseNextRedirect​(Redirector.Context context,
                                java.util.Set<java.lang.String> nodeUuids)
        Gives the Redirector a chance to configure the next appropriate redirect based on the Set of current Node uuids.
      • handleRingShutdown

        void handleRingShutdown​(Redirector.Context context,
                                java.lang.String uuid)
        Gives the Redirector a chance to remove the current Ring when it is being shutdown.