Class AbstractService.IsStoppedGuard

java.lang.Object
com.google.common.util.concurrent.Monitor.Guard
com.google.common.util.concurrent.AbstractService.IsStoppedGuard
Enclosing class:
AbstractService

private final class AbstractService.IsStoppedGuard extends Monitor.Guard
  • Constructor Details

    • IsStoppedGuard

      IsStoppedGuard()
  • Method Details

    • isSatisfied

      public boolean isSatisfied()
      Description copied from class: Monitor.Guard
      Evaluates this guard's boolean condition. This method is always called with the associated monitor already occupied. Implementations of this method must depend only on state protected by the associated monitor, and must not modify that state.
      Specified by:
      isSatisfied in class Monitor.Guard