Interface Stoppable

All Known Subinterfaces:
FileCleanerDelegate, LoadBalancer, MasterServices, RegionServerServices, Server, ThroughputController
All Known Implementing Classes:
AuthenticationTokenSecretManager.LeaderElector, BackupHFileCleaner, BackupLogCleaner, BaseFileCleanerDelegate, BaseHFileCleanerDelegate, BaseLoadBalancer, BaseLogCleanerDelegate, BaseTimeToLiveFileCleaner, CacheAwareLoadBalancer, CatalogReplicaLoadBalanceSimpleSelector, FavoredNodeLoadBalancer, FavoredStochasticBalancer, HBaseServerBase, HFileLinkCleaner, HMaster, HMasterCommandLine.LocalHMaster, HRegionServer, LogRollMasterProcedureManager, LongTermArchivingHFileCleaner, MaintenanceLoadBalancer, ManualMobMaintHFileCleaner, MasterFlushTableProcedureManager, MasterProcedureManager, MiniHBaseCluster.MiniHBaseClusterRegionServer, MockRegionServerServices, NoLimitThroughputController, PressureAwareCompactionThroughputController, PressureAwareFlushThroughputController, PressureAwareThroughputController, QuotaCache, ReplicationHFileCleaner, ReplicationLogCleaner, ReplicationSyncUp.DummyServer, RSGroupBasedLoadBalancer, ShutdownHook.DoNothingStoppable, SimpleLoadBalancer, SnapshotFileCache, SnapshotHFileCleaner, SnapshotManager, SnapshotScannerHDFSAclCleaner, StochasticLoadBalancer, TimeToLiveHFileCleaner, TimeToLiveLogCleaner, TimeToLiveMasterLocalStoreHFileCleaner, TimeToLiveMasterLocalStoreWALCleaner, TimeToLiveProcedureWALCleaner

@Public public interface Stoppable
Implementers are Stoppable.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns True if stop(String) has been closed.
    void
    stop(String why)
    Stop this service.
  • Method Details

    • stop

      void stop(String why)
      Stop this service. Implementers should favor logging errors over throwing RuntimeExceptions.
      Parameters:
      why - Why we're stopping.
    • isStopped

      boolean isStopped()
      Returns True if stop(String) has been closed.