CancellationToken (Cloud Bigtable HBase Client for Java 0.9.3-SNAPSHOT API)

Class CancellationToken

  • public class CancellationToken
    extends Object
    A class for communicating that an operation has been or should be cancelled.
    $Id: $Id
    • Constructor Detail

      • CancellationToken

        public CancellationToken()
    • Method Detail

      • addListener

        public void addListener(Runnable runnable,
                                Executor executor)
        Add a listener that will be fired if and when this token is cancelled.
        runnable - a Runnable object.
        executor - a Executor object.
      • cancel

        public void cancel()
        Inform listeners that the action has been / should be cancelled.

Send feedback about...

Cloud Bigtable Documentation