|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BaseFuture | |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.futures | |
| net.tomp2p.p2p | |
| net.tomp2p.p2p.config | |
| net.tomp2p.replication | |
| net.tomp2p.utils | |
| Uses of BaseFuture in net.tomp2p.connection |
|---|
| Method parameters in net.tomp2p.connection with type arguments of type BaseFuture | |
|---|---|
org.jboss.netty.channel.ChannelFuture |
ChannelCreator.createTCPChannel(ReplyTimeoutHandler timeoutHandler,
RequestHandlerTCP<? extends BaseFuture> requestHandler,
FutureResponse futureResponse,
int connectTimeoutMillis,
InetSocketAddress recipient)
Creates a TCP channel future. |
void |
Sender.sendTCP(RequestHandlerTCP<? extends BaseFuture> handler,
FutureResponse futureResponse,
Message message,
ChannelCreator channelCreator,
int idleTCPMillis)
Sent the message via TCP. |
void |
SenderNetty.sendTCP(RequestHandlerTCP<? extends BaseFuture> handler,
FutureResponse futureResponse,
Message message,
ChannelCreator channelCreator,
int idleTCPMillis)
|
| Uses of BaseFuture in net.tomp2p.futures |
|---|
| Classes in net.tomp2p.futures with type parameters of type BaseFuture | |
|---|---|
class |
BaseFutureAdapter<F extends BaseFuture>
The BaseFuture always completes either successfully or failed. |
interface |
BaseFutureListener<F extends BaseFuture>
Something interested in being notified when the result of an BaseFuture becomes available. |
interface |
FutureCreate<K extends BaseFuture>
DHT and Tracker operations may occur repeatedly. |
class |
FutureForkJoin<K extends BaseFuture>
The key future for recursive loops. |
class |
FutureLateJoin<K extends BaseFuture>
FutureLateJoin is similar to FutureForkJoin. |
class |
FutureWrappedBootstrap<K extends BaseFuture>
The bootstrap will be a wrapped future, because we need to ping a server first, and if this ping is successful, we can bootstrap. |
class |
FutureWrapper<K extends BaseFuture>
Wraps a future into an other future. |
| Subinterfaces of BaseFuture in net.tomp2p.futures | |
|---|---|
interface |
FutureBootstrap
Used for bootstrapping. |
| Classes in net.tomp2p.futures that implement BaseFuture | |
|---|---|
class |
BaseFutureImpl
The base for all BaseFuture implementations. |
class |
FutureChannelCreator
This future is used for the connection reservation. |
class |
FutureData
FutureData is used as the future object for direct DHT operations. |
class |
FutureDHT
The future object for the get() and put() operations including routing. |
class |
FutureDiscover
The future that keeps track of network discovery such as discovery if its behind a NAT, the status if UPNP or NAT-PMP could be established, if there is portforwarding. |
class |
FutureForkJoin<K extends BaseFuture>
The key future for recursive loops. |
class |
FutureLateJoin<K extends BaseFuture>
FutureLateJoin is similar to FutureForkJoin. |
class |
FutureResponse
Each response has one request messages. |
class |
FutureRouting
The routing future keeps track of the routing process. |
class |
FutureTracker
This class holds the object for future results from the tracker get() and add(). |
class |
FutureWrappedBootstrap<K extends BaseFuture>
The bootstrap will be a wrapped future, because we need to ping a server first, and if this ping is successful, we can bootstrap. |
class |
FutureWrapper<K extends BaseFuture>
Wraps a future into an other future. |
| Methods in net.tomp2p.futures that return BaseFuture | |
|---|---|
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)
|
| Methods in net.tomp2p.futures with parameters of type BaseFuture | |
|---|---|
void |
FutureTracker.repeated(BaseFuture future)
Called if a future is created based on this future. |
void |
BaseFuture.setFailed(BaseFuture origin)
Sets the failed flat to true and the completed flag to true. |
void |
BaseFutureImpl.setFailed(BaseFuture origin)
|
| Method parameters in net.tomp2p.futures with type arguments of type BaseFuture | |
|---|---|
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)
|
| Constructors in net.tomp2p.futures with parameters of type BaseFuture | |
|---|---|
FutureForkJoin(int nrFinishFuturesSuccess,
boolean cancelFuturesOnFinish,
K... forks)
Create a future fork join object |
|
FutureForkJoin(K... forks)
Facade if we expect everything to return successfully |
|
| Constructor parameters in net.tomp2p.futures with type arguments of type BaseFuture | |
|---|---|
FutureTracker(FutureCreate<BaseFuture> futureCreate)
Create a future object for storing |
|
| Uses of BaseFuture in net.tomp2p.p2p |
|---|
| Methods in net.tomp2p.p2p that return types with arguments of type BaseFuture | |
|---|---|
Map<BaseFuture,Long> |
Peer.getPendingFutures()
|
| Method parameters in net.tomp2p.p2p with type arguments of type BaseFuture | |
|---|---|
FutureTracker |
DistributedTracker.addToTracker(Number160 locationKey,
Number160 domainKey,
byte[] attachment,
RoutingConfiguration routingConfiguration,
TrackerConfiguration trackerConfiguration,
boolean signMessage,
FutureCreate<BaseFuture> futureCreate,
Set<Number160> knownPeers,
FutureChannelCreator futureChannelCreator,
ConnectionReservation connectionReservation)
|
| Uses of BaseFuture in net.tomp2p.p2p.config |
|---|
| Methods in net.tomp2p.p2p.config that return types with arguments of type BaseFuture | |
|---|---|
FutureCreate<BaseFuture> |
ConfigurationTrackerStore.getFutureCreate()
|
| Method parameters in net.tomp2p.p2p.config with type arguments of type BaseFuture | |
|---|---|
ConfigurationTrackerStore |
ConfigurationTrackerStore.setFutureCreate(FutureCreate<BaseFuture> futureCreate)
|
| Uses of BaseFuture in net.tomp2p.replication |
|---|
| Constructor parameters in net.tomp2p.replication with type arguments of type BaseFuture | |
|---|---|
DefaultStorageReplication(Peer peer,
Storage storage,
StorageRPC storageRPC,
Map<BaseFuture,Long> pendingFutures)
|
|
TrackerStorageReplication(Peer peer,
PeerExchangeRPC peerExchangeRPC,
Map<BaseFuture,Long> pendingFutures,
TrackerStorage trackerStorage)
|
|
| Uses of BaseFuture in net.tomp2p.utils |
|---|
| Methods in net.tomp2p.utils with parameters of type BaseFuture | |
|---|---|
static void |
Utils.addReleaseListener(BaseFuture baseFuture,
ConnectionReservation connectionReservation,
ChannelCreator cc,
int nr)
|
static void |
Utils.addReleaseListenerAll(BaseFuture baseFuture,
ConnectionReservation connectionReservation,
ChannelCreator channelCreator)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||