Package ome.services.blitz.redirect
Interface Redirector.Context
-
- All Known Implementing Classes:
Ring
- Enclosing interface:
- Redirector
public static interface Redirector.ContextInterface implemented by Ring instances to allow passing in the context necessary for making strategy decisions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ice.CommunicatorgetCommunicator()Active communicator for use by theRedirectorinstance.java.lang.StringgetDirectProxy()String representation of the proxy to the local node which may be contacted to create new sessions.java.util.Set<java.lang.String>getManagerList(boolean activeOnly)Return all known managers in the current cluster context, possibly filtering out the inactive ones.ome.system.Principalprincipal()Principalinstance which can be used for internal calls the Executor.java.lang.Stringuuid()The UUID for the local node which will be used as the redirect lookup string for thisRedirector.Context.
-
-
-
Method Detail
-
uuid
java.lang.String uuid()
The UUID for the local node which will be used as the redirect lookup string for thisRedirector.Context.
-
getDirectProxy
java.lang.String getDirectProxy()
String representation of the proxy to the local node which may be contacted to create new sessions.- Returns:
- See above.
-
principal
ome.system.Principal principal()
Principalinstance which can be used for internal calls the Executor.
-
getCommunicator
Ice.Communicator getCommunicator()
Active communicator for use by theRedirectorinstance.
-
getManagerList
java.util.Set<java.lang.String> getManagerList(boolean activeOnly)
Return all known managers in the current cluster context, possibly filtering out the inactive ones.
-
-