public class NullRedirector extends java.lang.Object implements Redirector
Redirector implementation to effectively disable redirects.Redirector.Context| Constructor and Description | 
|---|
| NullRedirector() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | chooseNextRedirect(Redirector.Context context,
                  java.util.Set<java.lang.String> nodeUuids)Does nothing. | 
| Glacier2.SessionPrx | getProxyOrNull(Redirector.Context context,
              java.lang.String userId,
              Glacier2.SessionControlPrx control,
              Ice.Current current)Always returns null | 
| void | handleRingShutdown(Redirector.Context context,
                  java.lang.String uuid)Does nothing. | 
public Glacier2.SessionPrx getProxyOrNull(Redirector.Context context, java.lang.String userId, Glacier2.SessionControlPrx control, Ice.Current current) throws Glacier2.CannotCreateSessionException
getProxyOrNull in interface RedirectoruserId - Not null.Glacier2.CannotCreateSessionExceptionpublic void chooseNextRedirect(Redirector.Context context, java.util.Set<java.lang.String> nodeUuids)
chooseNextRedirect in interface Redirectorpublic void handleRingShutdown(Redirector.Context context, java.lang.String uuid)
handleRingShutdown in interface Redirector