public class ScaleRedirector extends AbstractRedirector
Redirector.Contextexecutor, log, ROUTED_FROM| Constructor and Description |
|---|
ScaleRedirector(Executor ex) |
| Modifier and Type | Method and Description |
|---|---|
void |
chooseNextRedirect(Redirector.Context context,
Set<String> nodeUuids)
Does nothing since all redirects are chosen during
Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current) |
Glacier2.SessionPrx |
getProxyOrNull(Redirector.Context ctx,
String userId,
Glacier2.SessionControlPrx control,
Ice.Current current)
Returns null early if the
Current has already once been
routed by a Redirector implementation, returns an existing
session if it can be found, or returns a null. |
void |
handleRingShutdown(Redirector.Context context,
String uuid)
Nothing needs to be done on shutdown, since the Ring implementation will
properly disable the
Node table queried during the next call to
Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current) |
alreadyRouted, findProxy, getRedirect, initializeRedirect, nodeProxyQuery, obtainProxy, proxyForSessionpublic ScaleRedirector(Executor ex)
public Glacier2.SessionPrx getProxyOrNull(Redirector.Context ctx, 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, Set<String> nodeUuids)
Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current)public void handleRingShutdown(Redirector.Context context, String uuid)
Node table queried during the next call to
Redirector.getProxyOrNull(Context, String, Glacier2.SessionControlPrx, Ice.Current)
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.