Interface ManagedPendingService<O,S,R>

Type Parameters:
O - type of owner of the service
S - type of service owned while pending
R - type of value passed to hooks indicating that the service's pending has ended (the service became ready)
All Superinterfaces:
PendingService<O,S,R>
All Known Implementing Classes:
AbstractManagedPendingService

public interface ManagedPendingService<O,S,R> extends PendingService<O,S,R>
A managed pending service.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ru.progrm_jarvis.javacommons.service.PendingService

    PendingService.OwnedService<S,R>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if this service has been successfully started.
    void
    Marks this service as ready for starting.

    Methods inherited from interface ru.progrm_jarvis.javacommons.service.PendingService

    request
  • Method Details

    • ready

      void ready()
      Marks this service as ready for starting.
    • isSafelyStarted

      boolean isSafelyStarted()
      Checks if this service has been successfully started.
      Returns:
      true if this service has been successfully started and false otherwise