public class FutureAsyncTask extends BaseFutureImpl<FutureAsyncTask>
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureAsyncTask(PeerAddress remotePeer)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Map<Number160,Data> |
dataMap() |
FutureAsyncTask |
dataMap(Map<Number160,Data> dataMap)
Finishes the future and notifies listeners.
|
PeerAddress |
remotePeer() |
addCancel, addListener, addListener, await, await, awaitListeners, awaitListenersUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, completedAndNotify, failed, failed, failed, failed, failed, failedReason, isCompleted, isFailed, isSuccess, notifyListeners, removeCancel, removeListener, self, self, typepublic FutureAsyncTask(PeerAddress remotePeer)
remotePeer - The address of the peer that processes the taskpublic FutureAsyncTask dataMap(Map<Number160,Data> dataMap)
dataMap - The result from the remote peerpublic PeerAddress remotePeer()
Copyright © 2014. All rights reserved.