- All Superinterfaces:
Object
Monitors changes to the state of the registries.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::RegistryObserver.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.voidregistryDown(String name, Current current) Notifies the observer that a registry replica went down.voidregistryInit(RegistryInfo[] registries, Current current) Provides the initial state of the registries to the observer.voidregistryUp(RegistryInfo registryReplica, Current current) Notifies the observer that a registry replica came up.
-
Method Details
-
registryInit
Provides the initial state of the registries to the observer.- Parameters:
registries- The current state of the registries.current- the Current object of the incoming request
-
registryUp
Notifies the observer that a registry replica came up.- Parameters:
registryReplica- The registry state.current- the Current object of the incoming request
-
registryDown
Notifies the observer that a registry replica went down.- Parameters:
name- The registry name.current- the Current object of the incoming request
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::RegistryObserver"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-