Uses of Interface
com.google.common.util.concurrent.AbstractScheduledService.Cancellable
Packages that use AbstractScheduledService.Cancellable
-
Uses of AbstractScheduledService.Cancellable in com.google.common.util.concurrent
Classes in com.google.common.util.concurrent that implement AbstractScheduledService.CancellableModifier and TypeClassDescriptionprivate static final class
Contains the most recently submittedFuture
, which may be cancelled or updated, always under a lock.private static final class
Fields in com.google.common.util.concurrent declared as AbstractScheduledService.CancellableMethods in com.google.common.util.concurrent that return AbstractScheduledService.CancellableModifier and TypeMethodDescriptionAbstractScheduledService.CustomScheduler.ReschedulableCallable.initializeOrUpdateCancellationDelegate
(AbstractScheduledService.CustomScheduler.Schedule schedule) AbstractScheduledService.CustomScheduler.ReschedulableCallable.reschedule()
Atomically reschedules this task and assigns the new future toAbstractScheduledService.CustomScheduler.ReschedulableCallable.cancellationDelegate
.(package private) final AbstractScheduledService.Cancellable
AbstractScheduledService.CustomScheduler.schedule
(AbstractService service, ScheduledExecutorService executor, Runnable runnable) (package private) abstract AbstractScheduledService.Cancellable
AbstractScheduledService.Scheduler.schedule
(AbstractService service, ScheduledExecutorService executor, Runnable runnable) Schedules the task to run on the provided executor on behalf of the service.