Interface ServiceObserver

All Superinterfaces:
Object

public interface ServiceObserver extends Object
Observes the status of services in an IceBox server.

Remarks: This interface is implemented by admin tools that monitor the IceBox server.

See Also:
  • Method Details

    • servicesStarted

      void servicesStarted(String[] services, Current current)
      Receives the names of the services that were started.
      Parameters:
      services - The names of the services that were started.
      current - The Current object of the incoming request.
    • servicesStopped

      void servicesStopped(String[] services, Current current)
      Receives the names of the services that were stopped.
      Parameters:
      services - The names of the services that were stopped.
      current - The Current object of the incoming request.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::IceBox::ServiceObserver"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      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 interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.