Package ome.services.blitz.redirect
Interface Redirector.Context
-
- All Known Implementing Classes:
Ring
- Enclosing interface:
- Redirector
public static interface Redirector.Context
Interface 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.Communicator
getCommunicator()
Active communicator for use by theRedirector
instance.java.lang.String
getDirectProxy()
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.Principal
principal()
Principal
instance which can be used for internal calls the Executor.java.lang.String
uuid()
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()
Principal
instance which can be used for internal calls the Executor.
-
getCommunicator
Ice.Communicator getCommunicator()
Active communicator for use by theRedirector
instance.
-
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.
-
-