Interface ServiceActivityTracker

All Known Implementing Classes:
ServiceActivityTrackerImpl

public interface ServiceActivityTracker
Used to update the status of services defined by the ServiceActivityScoreboard.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    define(ServiceDef serviceDef, Status initialStatus)
    Defines a service in the tracker with an initial status.
    void
    setStatus(String serviceId, Status status)
    Updates the status for the service.
  • Method Details

    • define

      void define(ServiceDef serviceDef, Status initialStatus)
      Defines a service in the tracker with an initial status.
      Parameters:
      serviceDef - the service being defined
      initialStatus - typically Status.BUILTIN or Status.DEFINED
    • setStatus

      void setStatus(String serviceId, Status status)
      Updates the status for the service.
      Parameters:
      serviceId - identifies the service, which must be previously defined
      status - the new status value