public interface DetectFuture extends DetectResults
DetectFuture interface.
| Modifier and Type | Method and Description |
|---|---|
DetectFuture |
addListener(DetectFutureListener<DetectFuture> listener)
addListener
|
void |
awaitFor()
awaitFor
|
void |
awaitForUninterruptibly()
awaitForUninterruptibly
|
Throwable |
getException()
getException
|
boolean |
isDone()
isDone
|
void |
setException(Throwable throwable)
setException
|
void |
setServiceDetected(boolean serviceDetected)
setServiceDetected
|
getServiceAttributes, isServiceDetectedvoid setServiceDetected(boolean serviceDetected)
setServiceDetected
serviceDetected - a boolean.void setException(Throwable throwable)
setException
throwable - a Throwable object.void awaitFor()
throws InterruptedException
awaitFor
InterruptedExceptionvoid awaitForUninterruptibly()
awaitForUninterruptibly
boolean isDone()
isDone
DetectFuture addListener(DetectFutureListener<DetectFuture> listener)
addListener
Copyright © 2022. All rights reserved.