Class MoreExecutors.ScheduledListeningDecorator.NeverSuccessfulListenableFutureTask

All Implemented Interfaces:
AbstractFuture.Trusted<Void>, ListenableFuture<Void>, Runnable, Future<Void>
Enclosing class:
MoreExecutors.ScheduledListeningDecorator

private static final class MoreExecutors.ScheduledListeningDecorator.NeverSuccessfulListenableFutureTask extends AbstractFuture.TrustedFuture<Void> implements Runnable
  • Field Details

    • delegate

      private final Runnable delegate
  • Constructor Details

    • NeverSuccessfulListenableFutureTask

      public NeverSuccessfulListenableFutureTask(Runnable delegate)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • pendingToString

      protected String pendingToString()
      Description copied from class: AbstractFuture
      Provide a human-readable explanation of why this future has not yet completed.
      Overrides:
      pendingToString in class AbstractFuture<Void>
      Returns:
      null if an explanation cannot be provided (e.g. because the future is done).