|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cancellable | |
---|---|
net.tomp2p.connection | |
net.tomp2p.futures | |
net.tomp2p.mapreduce |
Uses of Cancellable in net.tomp2p.connection |
---|
Classes in net.tomp2p.connection that implement Cancellable | |
---|---|
class |
ReplyTimeoutHandler
Code inspired by Netty's TimeoutHandlers from Trustin Lee and adapted/extended to a reply timeout handler. |
Uses of Cancellable in net.tomp2p.futures |
---|
Subinterfaces of Cancellable in net.tomp2p.futures | |
---|---|
interface |
BaseFuture
Represents the result of an asynchronous operation. |
interface |
FutureBootstrap
Used for bootstrapping. |
Classes in net.tomp2p.futures that implement Cancellable | |
---|---|
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 |
FutureLaterJoin<K extends BaseFuture>
FutureLaterJoin is similar to FutureLateJoin. |
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 with parameters of type Cancellable | |
---|---|
BaseFuture |
BaseFuture.addCancellation(Cancellable cancellable)
Adds a cancel listener to this future, which is called when cancel is executed. |
BaseFuture |
BaseFutureImpl.addCancellation(Cancellable cancellable)
|
void |
FutureDHT.addCleanup(Cancellable cancellable)
|
void |
FutureCleanup.addCleanup(Cancellable cancellable)
Call to add cleanup classes for the future e.g. |
void |
FutureTracker.addCleanup(Cancellable cancellable)
|
BaseFuture |
BaseFuture.removeCancellation(Cancellable cancellable)
Remove a listener. |
BaseFuture |
BaseFutureImpl.removeCancellation(Cancellable cancellable)
|
Uses of Cancellable in net.tomp2p.mapreduce |
---|
Classes in net.tomp2p.mapreduce that implement Cancellable | |
---|---|
class |
FutureMap
|
class |
FutureMapReduce
|
class |
FutureReduce
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |