Interface HighlyAvailableService


  • public interface HighlyAvailableService
    This interface allows service implementations which support running multiple instances concurrently with only one active instance to report whether or not they are the active service.
    • Method Detail

      • isActiveService

        boolean isActiveService()
        Is this service instance currently the active instance for the Accumulo cluster.
        Returns:
        True if the service is the active service, false otherwise.
      • isUpgrading

        default boolean isUpgrading()
        Is this service instance currently in the process of upgrading.
        Returns:
        True if the service is upgrading, false otherwise.
      • getServiceName

        default String getServiceName()
        Get the name of the service
        Returns:
        service name