| Package | Description |
|---|---|
| net.tomp2p.futures | |
| net.tomp2p.p2p | |
| net.tomp2p.p2p.config | |
| net.tomp2p.replication | |
| net.tomp2p.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFutureAdapter<F extends BaseFuture> |
interface |
BaseFutureListener<F extends BaseFuture>
Something interested in being notified when the result of an
BaseFuture becomes available. |
interface |
FutureCreate<K extends BaseFuture> |
class |
FutureForkJoin<K extends BaseFuture> |
class |
FutureLateJoin<K extends BaseFuture> |
class |
FutureWrappedBootstrap<K extends BaseFuture> |
class |
FutureWrapper<K extends BaseFuture> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FutureBootstrap |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFutureImpl
The base for all BaseFuture implementations.
|
class |
FutureData |
class |
FutureDHT |
class |
FutureDiscover |
class |
FutureForkJoin<K extends BaseFuture> |
class |
FutureLateJoin<K extends BaseFuture> |
class |
FutureResponse
Each response has at least a request messages.
|
class |
FutureRouting |
class |
FutureTracker
This class holds the object for future results from the tracker get() and
add().
|
class |
FutureWrappedBootstrap<K extends BaseFuture> |
class |
FutureWrapper<K extends BaseFuture> |
| Modifier and Type | Method and Description |
|---|---|
BaseFuture |
BaseFuture.addCancellation(Cancellable cancellable)
Adds a cancel listener to this future, which is called when cancel is
executed.
|
BaseFuture |
BaseFutureImpl.addCancellation(Cancellable cancellable) |
BaseFuture |
BaseFuture.addListener(BaseFutureListener<? extends BaseFuture> listener)
Adds a listener which is notified when the state of this future changes.
|
BaseFuture |
BaseFutureImpl.addListener(BaseFutureListener<? extends BaseFuture> listener) |
BaseFuture |
BaseFuture.await()
Wait for the asynchronous operation to end.
|
BaseFuture |
BaseFutureImpl.await() |
BaseFuture |
BaseFuture.awaitUninterruptibly()
Wait for the asynchronous operation to end without interruption.
|
BaseFuture |
BaseFutureImpl.awaitUninterruptibly() |
BaseFuture |
BaseFuture.removeCancellation(Cancellable cancellable)
Remove a listener.
|
BaseFuture |
BaseFutureImpl.removeCancellation(Cancellable cancellable) |
BaseFuture |
BaseFuture.removeListener(BaseFutureListener<? extends BaseFuture> listener)
Removes a listener which is notified when the state of this future
changes.
|
BaseFuture |
BaseFutureImpl.removeListener(BaseFutureListener<? extends BaseFuture> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
FutureTracker.repeated(BaseFuture future) |
| Modifier and Type | Method and Description |
|---|---|
BaseFuture |
BaseFuture.addListener(BaseFutureListener<? extends BaseFuture> listener)
Adds a listener which is notified when the state of this future changes.
|
BaseFuture |
BaseFutureImpl.addListener(BaseFutureListener<? extends BaseFuture> listener) |
BaseFuture |
BaseFuture.removeListener(BaseFutureListener<? extends BaseFuture> listener)
Removes a listener which is notified when the state of this future
changes.
|
BaseFuture |
BaseFutureImpl.removeListener(BaseFutureListener<? extends BaseFuture> listener) |
void |
FutureTracker.setFutureCreate(FutureCreate<BaseFuture> futureCreate) |
| Constructor and Description |
|---|
FutureForkJoin(int nrFinishFuturesSuccess,
boolean cancelFuturesOnFinish,
K... forks) |
FutureForkJoin(K... forks) |
| Modifier and Type | Method and Description |
|---|---|
Map<BaseFuture,Long> |
Peer.getPendingFutures() |
| Modifier and Type | Method and Description |
|---|---|
FutureTracker |
DistributedTracker.addToTracker(Number160 locationKey,
Number160 domainKey,
byte[] attachment,
RoutingConfiguration routingConfiguration,
TrackerConfiguration trackerConfiguration,
boolean signMessage,
FutureCreate<BaseFuture> futureCreate,
Set<Number160> knownPeers,
ChannelCreator cc) |
| Modifier and Type | Method and Description |
|---|---|
FutureCreate<BaseFuture> |
ConfigurationTrackerStore.getFutureCreate() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationTrackerStore |
ConfigurationTrackerStore.setFutureCreate(FutureCreate<BaseFuture> futureCreate) |
| Constructor and Description |
|---|
DefaultStorageReplication(Peer peer,
Storage storage,
StorageRPC storageRPC,
Map<BaseFuture,Long> pendingFutures,
Scheduler scheduler) |
TrackerStorageReplication(Peer peer,
PeerExchangeRPC peerExchangeRPC,
Map<BaseFuture,Long> pendingFutures,
TrackerStorage trackerStorage) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Utils.addReleaseListener(BaseFuture baseFuture,
ChannelCreator cc,
int nr) |
static void |
Utils.addReleaseListenerAll(BaseFuture baseFuture,
ChannelCreator cc) |
Copyright © 2011. All Rights Reserved.