public interface Redirector
Ring instance decide whether to
 redirect SessionPrx creation to another SessionManagerI
 instance. The Ring instance is passed in| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Redirector.ContextInterface implemented by Ring instances to allow passing in the context
 necessary for making strategy decisions. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | chooseNextRedirect(Redirector.Context context,
                  java.util.Set<java.lang.String> nodeUuids)Gives the  Redirectora chance to configure the next appropriate
 redirect based on theSetof currentNodeuuids. | 
| Glacier2.SessionPrx | getProxyOrNull(Redirector.Context context,
              java.lang.String userId,
              Glacier2.SessionControlPrx control,
              Ice.Current current)Create or retrieve and returns a  SessionPrxwhich the current
 method takes control of. | 
| void | handleRingShutdown(Redirector.Context context,
                  java.lang.String uuid)Gives the  Redirectora chance to remove the currentRingwhen it is being shutdown. | 
Glacier2.SessionPrx getProxyOrNull(Redirector.Context context, java.lang.String userId, Glacier2.SessionControlPrx control, Ice.Current current) throws Glacier2.CannotCreateSessionException
SessionPrx which the current
 method takes control of. If it is not returned, then it should be
 properly destroyed.userId - Not null.control - current - Glacier2.CannotCreateSessionExceptionvoid chooseNextRedirect(Redirector.Context context, java.util.Set<java.lang.String> nodeUuids)
Redirector a chance to configure the next appropriate
 redirect based on the Set of current Node uuids.void handleRingShutdown(Redirector.Context context, java.lang.String uuid)
Redirector a chance to remove the current Ring
 when it is being shutdown.