Interface Service

All Known Subinterfaces:
IdentifierFactory<I>, Manager<I>, SessionManager<C>, UserManager<C,T,D,S>
All Known Implementing Classes:
AbstractSessionManager, AffinityIdentifierFactory, CachedSessionManager, DefaultUserManager, HotRodSessionManager, InfinispanSessionManager, SimpleIdentifierFactory

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.