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()
awaitForUninterruptiblyjava.lang.Throwable
getException()
getExceptionboolean
isDone()
isDonevoid
setException(java.lang.Throwable throwable)
setExceptionvoid
setServiceDetected(boolean serviceDetected)
setServiceDetected-
Methods inherited from interface org.opennms.netmgt.provision.DetectResults
getServiceAttributes, isServiceDetected
-
-
-
-
Method Detail
-
getException
java.lang.Throwable getException()
getException
- Returns:
- a
Throwable
object.
-
setServiceDetected
void setServiceDetected(boolean serviceDetected)
setServiceDetected
- Parameters:
serviceDetected
- a boolean.
-
setException
void setException(java.lang.Throwable throwable)
setException
- Parameters:
throwable
- aThrowable
object.
-
awaitFor
void awaitFor() throws java.lang.InterruptedException
awaitFor
- Throws:
java.lang.InterruptedException
-
awaitForUninterruptibly
void awaitForUninterruptibly()
awaitForUninterruptibly
-
isDone
boolean isDone()
isDone
-
addListener
DetectFuture addListener(DetectFutureListener<DetectFuture> listener)
addListener
-
-