public class ScaleRedirector extends AbstractRedirector
Redirector.Contextexecutor, log, ROUTED_FROM| Constructor and Description | 
|---|
| ScaleRedirector(ome.services.util.Executor ex) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | chooseNextRedirect(Redirector.Context context,
                  java.util.Set<java.lang.String> nodeUuids)Does nothing since all redirects are chosen during
  Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current) | 
| Glacier2.SessionPrx | getProxyOrNull(Redirector.Context ctx,
              java.lang.String userId,
              Glacier2.SessionControlPrx control,
              Ice.Current current)Returns null early if the  Currenthas already once been
 routed by aRedirectorimplementation, returns an existing
 session if it can be found, or returns a null. | 
| void | handleRingShutdown(Redirector.Context context,
                  java.lang.String uuid)Nothing needs to be done on shutdown, since the Ring implementation will
 properly disable the  Nodetable queried during the next call toRedirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current) | 
alreadyRouted, findProxy, getRedirect, initializeRedirect, nodeProxyQuery, obtainProxy, proxyForSessionpublic Glacier2.SessionPrx getProxyOrNull(Redirector.Context ctx, java.lang.String userId, Glacier2.SessionControlPrx control, Ice.Current current) throws Glacier2.CannotCreateSessionException
AbstractRedirectorCurrent has already once been
 routed by a Redirector implementation, returns an existing
 session if it can be found, or returns a null.getProxyOrNull in interface RedirectorgetProxyOrNull in class AbstractRedirectoruserId - Not null.Glacier2.CannotCreateSessionExceptionAbstractRedirector.ROUTED_FROMpublic void chooseNextRedirect(Redirector.Context context, java.util.Set<java.lang.String> nodeUuids)
Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current)public void handleRingShutdown(Redirector.Context context, java.lang.String uuid)
Node table queried during the next call to
 Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current)