Class AbstractService.IsStoppableGuard
java.lang.Object
com.google.common.util.concurrent.Monitor.Guard
com.google.common.util.concurrent.AbstractService.IsStoppableGuard
- Enclosing class:
AbstractService
-
Field Summary
Fields inherited from class com.google.common.util.concurrent.Monitor.Guard
condition, monitor, next, waiterCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Evaluates this guard's boolean condition.
-
Constructor Details
-
IsStoppableGuard
IsStoppableGuard()
-
-
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 classMonitor.Guard
-