public abstract class CloseFuture extends AbstractFuture<Void>
force()method that can be used to expedite the shutdown process (see below). Note that this class implements Guava's
ListenableFutureand can so be used with Guava's future utilities.
|Modifier and Type||Method and Description|
Try to force the completion of the shutdown this is a future of.
addListener, cancel, get, get, interruptTask, isCancelled, isDone, set, setException, setFuture, wasInterrupted
public abstract CloseFuture force()
Copyright © 2012–2018. All rights reserved.