Class StoppableImplementation

java.lang.Object
org.apache.hadoop.hbase.util.StoppableImplementation
All Implemented Interfaces:
org.apache.hadoop.hbase.Stoppable
Direct Known Subclasses:
Policy

@Private public class StoppableImplementation extends Object implements org.apache.hadoop.hbase.Stoppable
A base implementation for a Stoppable service
  • Field Details

    • stopped

      volatile boolean stopped
  • Constructor Details

  • Method Details

    • stop

      public void stop(String why)
      Specified by:
      stop in interface org.apache.hadoop.hbase.Stoppable
    • isStopped

      public boolean isStopped()
      Specified by:
      isStopped in interface org.apache.hadoop.hbase.Stoppable