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 DetectFutureaddListener(DetectFutureListener<DetectFuture> listener)addListenervoidawaitFor()awaitForvoidawaitForUninterruptibly()awaitForUninterruptiblyThrowablegetException()getExceptionbooleanisDone()isDonevoidsetException(Throwable throwable)setExceptionvoidsetServiceDetected(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- aThrowableobject.
-
awaitFor
void awaitFor() throws InterruptedExceptionawaitFor
- Throws:
InterruptedException
-
awaitForUninterruptibly
void awaitForUninterruptibly()
awaitForUninterruptibly
-
isDone
boolean isDone()
isDone
-
addListener
DetectFuture addListener(DetectFutureListener<DetectFuture> listener)
addListener
-
-