Interface Service

All Known Subinterfaces:
IdentifierFactoryService<I>, Manager<I>, SchedulerService<K,V>, SessionManager<C>, UserManager<C,T,D,S>
All Known Implementing Classes:
AbstractSessionManager, AffinityIdentifierFactoryService, AtomicReferenceService, CachedSessionManager, CachedUserManager, CacheEntrySchedulerService, DecoratedManager, DecoratedSchedulerService, DecoratedService, DecoratedSessionManager, DecoratedUserManager, DefaultUserManager, HotRodSessionManager, InfinispanSessionManager, LocalSchedulerService, PrimaryOwnerSchedulerService, SimpleIdentifierFactoryService, SimpleService

public interface Service
A restartable service.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether or not this service is started.
    void
    Starts this service.
    void
    Stops this service.
  • Method Details

    • isStarted

      boolean isStarted()
      Indicates whether or not this service is started.
      Returns:
      true, if this service is started, false otherwise
    • start

      void start()
      Starts this service.
    • stop

      void stop()
      Stops this service.