Package org.opennms.core.tasks
Interface Async<T>
-
public interface Async<T>
This interface is used on objects that are inherently asynchronous (like Mina or Netty library calls). ThesupplyAsyncThenAccept(Callback)
method will invoke an async operation that uses theCallback
as the completion and exception handler for the operation.- Author:
- Seth, brozow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
supplyAsyncThenAccept(Callback<T> cb)
submit
-