public interface BlockingDisposable extends Disposable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
default void |
dispose() |
default void |
dispose(long timeoutMillis) |
boolean |
tryDispose(long timeoutMillis) |
default void dispose()
throws ObjectDisposeException,
InterruptedException
dispose in interface DisposableObjectDisposeExceptionInterruptedExceptiondefault void dispose(long timeoutMillis)
throws ObjectDisposeException,
InterruptedException,
TimeoutException
default void close()
throws ObjectDisposeException,
InterruptedException
close in interface AutoCloseableclose in interface DisposableObjectDisposeExceptionInterruptedExceptionboolean tryDispose(long timeoutMillis)
throws ObjectDisposeException,
InterruptedException
Copyright © 2018 SPF4J. All rights reserved.