Class AbstractScheduledService.FutureAsCancellable
java.lang.Object
com.google.common.util.concurrent.AbstractScheduledService.FutureAsCancellable
- All Implemented Interfaces:
AbstractScheduledService.Cancellable
- Enclosing class:
AbstractScheduledService
private static final class AbstractScheduledService.FutureAsCancellable
extends Object
implements AbstractScheduledService.Cancellable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
delegate
-
-
Constructor Details
-
FutureAsCancellable
FutureAsCancellable(Future<?> delegate)
-
-
Method Details
-
cancel
public void cancel(boolean mayInterruptIfRunning) - Specified by:
cancel
in interfaceAbstractScheduledService.Cancellable
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceAbstractScheduledService.Cancellable
-