Package org.opennms.netmgt.provision
Interface DetectFuture
-
- All Superinterfaces:
DetectResults
- All Known Implementing Classes:
DetectFutureFailedImpl
,DetectFutureMinaImpl
,DetectFutureNettyImpl
,DetectorFutureImpl
public interface DetectFuture extends DetectResults
DetectFuture interface.
- Version:
- $Id: $
- Author:
- thedesloge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectFuture
addListener(DetectFutureListener<DetectFuture> listener)
addListenervoid
awaitFor()
awaitForvoid
awaitForUninterruptibly()
awaitForUninterruptiblyThrowable
getException()
getExceptionboolean
isDone()
isDonevoid
setException(Throwable throwable)
setExceptionvoid
setServiceDetected(boolean serviceDetected)
setServiceDetected-
Methods inherited from interface org.opennms.netmgt.provision.DetectResults
getServiceAttributes, isServiceDetected
-
-
-
-
Method Detail
-
setServiceDetected
void setServiceDetected(boolean serviceDetected)
setServiceDetected
- Parameters:
serviceDetected
- a boolean.
-
setException
void setException(Throwable throwable)
setException
- Parameters:
throwable
- aThrowable
object.
-
awaitFor
void awaitFor() throws InterruptedException
awaitFor
- Throws:
InterruptedException
-
awaitForUninterruptibly
void awaitForUninterruptibly()
awaitForUninterruptibly
-
isDone
boolean isDone()
isDone
-
addListener
DetectFuture addListener(DetectFutureListener<DetectFuture> listener)
addListener
-
-