- All Superinterfaces:
Object
Monitors changes to the state of the registries.
-
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 String
Gets the type ID of the associated Slice interface.void
registryDown
(String name, Current current) Notifies the observer that a registry replica went down.void
registryInit
(RegistryInfo[] registries, Current current) Provides the initial state of the registries to the observer.void
registryUp
(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:
dispatch
in interfaceObject
- Parameters:
request
- the incoming request- Returns:
- the outgoing response
- Throws:
UserException
- if aUserException
is thrown, Ice will marshal it as the response payload.
-