Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
rice.Continuation

Packages that use Continuation
rice |
rice.p2p.aggregation |
rice.p2p.commonapi |
rice.p2p.glacier |
rice.p2p.glacier.v2 |
rice.p2p.multiring |
rice.p2p.past |
rice.p2p.past.gc |
rice.p2p.past.gc.messaging |
rice.p2p.past.messaging |
rice.p2p.past.testing |
rice.p2p.replication.manager |
rice.p2p.replication.manager.testing |
rice.pastry.commonapi |
rice.pastry.dist |
rice.persistence |
rice.persistence.testing |

Uses of Continuation in rice

Classes in rice that implement Continuation
`static class` | `Continuation.ErrorContinuation` This class is a Continuation provided for simplicity which passes any results up to the parent Continuation which it is constructed with.
`static class` | `Continuation.ExternalContinuation` This class provides a continuation which is designed to be used from an external thread.
`static class` | `Continuation.ListenerContinuation` This class is a Continuation provided for simplicity which listens for any errors and ignores any success values.
`static class` | `Continuation.NamedContinuation` Continuation class which takes a provided string as it's name, and returns that String when toString() is called.
`static class` | `Continuation.SimpleContinuation` This class is a Continuation provided for simplicity which passes both results and exceptions to the receiveResult() method.
`static class` | `Continuation.StandardContinuation` This class is a Continuation provided for simplicity which passes any errors up to the parent Continuation which it is constructed with.

Fields in rice declared as Continuation
`protected Continuation` | `Continuation.StandardContinuation.parent` The parent continuation
`protected Continuation` | `Continuation.ErrorContinuation.parent` The parent continuation
`protected Continuation` | `Continuation.MultiContinuation.parent` DESCRIBE THE FIELD
`protected Continuation` | `Continuation.NamedContinuation.parent` DESCRIBE THE FIELD

Methods in rice that return Continuation
`Continuation` | `Continuation.MultiContinuation.getSubContinuation(int index)` Returns the continuation which should be used as the result continuation for the index-th result.

Constructors in rice with parameters of type Continuation
`Continuation.StandardContinuation(Continuation continuation)` Constructor which takes in the parent continuation for this continuation.
`Continuation.ErrorContinuation(Continuation continuation)` Constructor which takes in the parent continuation for this continuation.
`Continuation.MultiContinuation(Continuation parent, int num)` Constructor which takes a parent continuation as well as the number of results which to expect.
`Continuation.NamedContinuation(java.lang.String name, Continuation command)` Builds a new NamedContinuation given the name and the wrapped continuation

Uses of Continuation in rice.p2p.aggregation

Fields in rice.p2p.aggregation declared as Continuation
`protected Continuation` | `AggregationImpl.flushWait` DESCRIBE THE FIELD

Methods in rice.p2p.aggregation with parameters of type Continuation
`void` | `Aggregation.setHandle(java.io.Serializable handle, Continuation command)` Restores the handle object.
`void` | `Aggregation.flush(Id id, Continuation command)` Creates an aggregate that includes the most current object with the specified key.
`void` | `Aggregation.flush(Continuation command)` Creates aggregates from all objects in the local object cache.
`void` | `Aggregation.rollback(Id id, Continuation command)` Attempts to retrieve the most recent object that has been inserted by the local node under the specified key.
`void` | `Aggregation.reset(Continuation command)` Deletes all local state, including the aggregate list and all objects waiting in the local buffer.
`void` | `AggregationImpl.setHandle(java.io.Serializable handle, Continuation command)` Sets the Handle attribute of the AggregationImpl object
`void` | `AggregationImpl.refresh(Id[] ids, long expiration, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.refresh(Id[] ids, long[] expirations, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.insert(PastContent obj, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.insert(PastContent obj, long lifetime, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookup(Id id, boolean cache, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookup(Id id, long version, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookup(Id id, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookupHandles(Id id, long version, int max, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.lookupHandles(Id id, int max, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.fetch(PastContentHandle handle, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.flush(Id id, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.flush(Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.rollback(Id id, Continuation command)` DESCRIBE THE METHOD
`void` | `AggregationImpl.reset(Continuation command)` DESCRIBE THE METHOD

Uses of Continuation in rice.p2p.commonapi

Methods in rice.p2p.commonapi with parameters of type Continuation
`void` | `Endpoint.process(Executable task, Continuation command)` Schedules a job for processing on the dedicated processing thread.

Uses of Continuation in rice.p2p.glacier

Methods in rice.p2p.glacier with parameters of type Continuation
`void` | `VersioningPast.lookup(Id id, long version, Continuation command)` Retrieves the object stored in this instance of Past with the given ID and the specified version.
`void` | `VersioningPast.lookupHandles(Id id, long version, int num, Continuation command)` Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
`void` | `VersioningPast.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)` Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.

Uses of Continuation in rice.p2p.glacier.v2

Methods in rice.p2p.glacier.v2 with parameters of type Continuation
`void` | `GlacierDefaultPolicy.prefetchLocalObject(VersionKey key, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.insert(PastContent obj, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.refresh(Id[] ids, long[] expirations, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.refresh(Id[] ids, long expiration, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.insert(PastContent obj, long expiration, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookupHandles(Id id, int num, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookupHandles(Id id, long version, int num, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookup(Id id, long version, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookup(Id id, boolean cache, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.lookup(Id id, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.fetch(PastContentHandle handle, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.retrieveManifest(VersionKey key, char tag, Continuation command)` DESCRIBE THE METHOD
`void` | `GlacierImpl.retrieveObject(VersionKey key, Manifest manifest, boolean beStrict, char tag, Continuation c)` DESCRIBE THE METHOD
`void` | `GlacierImpl.emptyTrash(Continuation c)` DESCRIBE THE METHOD
`void` | `GlacierPolicy.prefetchLocalObject(VersionKey key, Continuation command)` DESCRIBE THE METHOD

Uses of Continuation in rice.p2p.multiring

Methods in rice.p2p.multiring with parameters of type Continuation
`void` | `MultiringEndpoint.process(Executable task, Continuation command)` Schedules a job for processing on the dedicated processing thread.

Uses of Continuation in rice.p2p.past

Methods in rice.p2p.past that return Continuation
`Continuation[]` | `PastImpl.getOutstandingMessages()` Returns of the outstanding messages.
`protected Continuation` | `PastImpl.getResponseContinuation(PastMessage msg)` Returns a continuation which will respond to the given message.

Methods in rice.p2p.past with parameters of type Continuation
`void` | `Past.insert(PastContent obj, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `Past.lookup(Id id, Continuation command)` Retrieves the object stored in this instance of Past with the given ID.
`void` | `Past.lookup(Id id, boolean cache, Continuation command)` Retrieves the object stored in this instance of Past with the given ID.
`void` | `Past.lookupHandles(Id id, int max, Continuation command)` Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
`void` | `Past.lookupHandle(Id id, NodeHandle handle, Continuation command)` Retrieves the handle for the given object stored on the requested node.
`void` | `Past.fetch(PastContentHandle handle, Continuation command)` Retrieves the object associated with a given content handle.
`protected void` | `PastImpl.getHandles(Id id, int max, Continuation command)` Internal method which returns the handles to an object.
`protected void` | `PastImpl.sendRequest(Id id, PastMessage message, Continuation command)` Sends a request message across the wire, and stores the appropriate continuation.
`protected void` | `PastImpl.sendRequest(NodeHandle handle, PastMessage message, Continuation command)` Sends a request message across the wire, and stores the appropriate continuation.
`protected void` | `PastImpl.sendRequest(Id id, PastMessage message, NodeHandle hint, Continuation command)` Sends a request message across the wire, and stores the appropriate continuation.
`void` | `PastImpl.cache(PastContent content, Continuation command)` Method which inserts the given object into the cache
`protected void` | `PastImpl.doInsert(Id id, PastImpl.MessageBuilder builder, Continuation command)` Internal method which actually performs an insert for a given object.
`void` | `PastImpl.insert(PastContent obj, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `PastImpl.lookup(Id id, Continuation command)` Retrieves the object stored in this instance of Past with the given ID.
`void` | `PastImpl.lookup(Id id, boolean cache, Continuation command)` Method which performs the same as lookup(), but allows the callee to specify if the data should be cached.
`void` | `PastImpl.lookupHandles(Id id, int max, Continuation command)` Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
`void` | `PastImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)` Retrieves the handle for the given object stored on the requested node.
`void` | `PastImpl.fetch(PastContentHandle handle, Continuation command)` Retrieves the object associated with a given content handle.
`void` | `PastImpl.fetch(Id id, NodeHandle hint, Continuation command)` This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
`void` | `PastImpl.remove(Id id, Continuation command)` This upcall is to notify the client that the given id can be safely removed from the storage.
`void` | `PastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)` This method is called when Past is told to fetch a key.
`void` | `PastPolicy.DefaultPastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)` This method fetches the object via a lookup() call.

Uses of Continuation in rice.p2p.past.gc

Methods in rice.p2p.past.gc with parameters of type Continuation
`void` | `GCEndpoint.process(Executable task, Continuation command)` Schedules a job for processing on the dedicated processing thread.
`void` | `GCPast.insert(PastContent obj, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `GCPast.insert(PastContent obj, long expiration, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `GCPast.refresh(Id[] ids, long[] expiration, Continuation command)` Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
`void` | `GCPast.refresh(Id[] ids, long expiration, Continuation command)` Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
`void` | `GCPastImpl.insert(PastContent obj, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `GCPastImpl.insert(PastContent obj, long expiration, Continuation command)` Inserts an object with the given ID into this instance of Past.
`void` | `GCPastImpl.refresh(Id[] array, long expiration, Continuation command)` Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
`void` | `GCPastImpl.refresh(Id[] array, long[] expirations, Continuation command)` Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
`protected void` | `GCPastImpl.refresh(GCIdSet ids, Continuation command)` Internal method which actually does the refreshing.
`protected void` | `GCPastImpl.collect(java.util.SortedMap map, Continuation command)` Internal method which collects all of the objects in the given set
`void` | `GCPastImpl.fetch(Id id, NodeHandle hint, Continuation command)` This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
`void` | `GCPastImpl.remove(Id id, Continuation command)` This upcall is to notify the client that the given id can be safely removed from the storage.

Uses of Continuation in rice.p2p.past.gc.messaging

Classes in rice.p2p.past.gc.messaging that implement Continuation
`class` | `GCInsertMessage`
`class` | `GCLookupHandlesMessage`
`class` | `GCRefreshMessage`

Methods in rice.p2p.past.gc.messaging with parameters of type Continuation
`void` | `GCCollectMessage.returnResponse(Continuation c)` Method by which this message is supposed to return it's response - in this case, it lets the continuation know that a the message was lost via the receiveException method.

Uses of Continuation in rice.p2p.past.messaging

Classes in rice.p2p.past.messaging that implement Continuation
`class` | `ContinuationMessage`
`class` | `FetchHandleMessage`
`class` | `FetchMessage`
`class` | `InsertMessage`
`class` | `LookupHandlesMessage`
`class` | `LookupMessage`

Methods in rice.p2p.past.messaging with parameters of type Continuation
`void` | `CacheMessage.returnResponse(Continuation c)` Method by which this message is supposed to return it's response.
`void` | `ContinuationMessage.returnResponse(Continuation c)` Method by which this message is supposed to return it's response.
`void` | `MessageLostMessage.returnResponse(Continuation c)` Method by which this message is supposed to return it's response - in this case, it lets the continuation know that a the message was lost via the receiveException method.
`abstract void` | `PastMessage.returnResponse(Continuation c)` Method by which this message is supposed to return it's response.

Uses of Continuation in rice.p2p.past.testing

Classes in rice.p2p.past.testing that implement Continuation
`protected class` | `PastRegrTest.TestCommand` Common superclass for test commands.
`protected class` | `PastRegrTest.TestExceptionCommand` Common superclass for test commands which should throw an exception

Uses of Continuation in rice.p2p.replication.manager

Classes in rice.p2p.replication.manager that implement Continuation
`protected class` | `ReplicationManagerImpl.ReplicationManagerDeleter` Inner class which keeps track of the keys which we are currently deleting

Methods in rice.p2p.replication.manager with parameters of type Continuation
`void` | `ReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)` This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
`void` | `ReplicationManagerClient.remove(Id id, Continuation command)` This upcall is to notify the client that the given id can be safely removed from the storage.

Uses of Continuation in rice.p2p.replication.manager.testing

Methods in rice.p2p.replication.manager.testing with parameters of type Continuation
`void` | `ReplicationManagerRegrTest.TestReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)` DESCRIBE THE METHOD
`void` | `ReplicationManagerRegrTest.TestReplicationManagerClient.remove(Id id, Continuation command)` DESCRIBE THE METHOD

Uses of Continuation in rice.pastry.commonapi

Methods in rice.pastry.commonapi with parameters of type Continuation
`void` | `PastryEndpoint.process(Executable task, Continuation command)` Schedules a job for processing on the dedicated processing thread.

Uses of Continuation in rice.pastry.dist

Methods in rice.pastry.dist with parameters of type Continuation
`void` | `DistPastryNode.process(Executable task, Continuation command)` Schedules a job for processing on the dedicated processing thread.

Uses of Continuation in rice.persistence

Methods in rice.persistence with parameters of type Continuation
`void` | `Cache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Caches an object in this storage.
`void` | `Cache.uncache(Id id, Continuation c)` Removes the object from the list of cached objects.
`void` | `Cache.setMaximumSize(int size, Continuation c)` Sets the maximum size of the cache, in bytes.
`void` | `Catalog.getObject(Id id, Continuation c)` Returns the object identified by the given id, or `null` if there is no cooresponding object (through receiveResult on c).
`void` | `Catalog.setMetadata(Id id, java.io.Serializable metadata, Continuation command)` Updates the metadata stored under the given key to be the provided value.
`void` | `Catalog.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `EmptyCache.getObject(Id id, Continuation c)` Returns the object identified by the given id.
`void` | `EmptyCache.setMetadata(Id id, java.io.Serializable metadata, Continuation c)` Updates the metadata stored under the given key to be the provided value.
`void` | `EmptyCache.setMaximumSize(int size, Continuation c)` Sets the maximum size of the cache, in bytes.
`void` | `EmptyCache.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `EmptyCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Caches an object in this storage.
`void` | `EmptyCache.uncache(Id id, Continuation c)` Removes the object from the list of cached objects.
`void` | `LRUCache.getObject(Id id, Continuation c)` Returns the object identified by the given id.
`void` | `LRUCache.setMetadata(Id id, java.io.Serializable metadata, Continuation command)` Updates the metadata stored under the given key to be the provided value.
`void` | `LRUCache.setMaximumSize(int size, Continuation c)` Sets the maximum size of the cache, in bytes.
`void` | `LRUCache.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `LRUCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Caches an object in this storage.
`void` | `LRUCache.uncache(Id id, Continuation c)` Removes the object from the list of cached objects.
`void` | `MemoryStorage.getObject(Id id, Continuation c)` Returns the object identified by the given id, or `null` if there is no cooresponding object (through receiveResult on c).
`void` | `MemoryStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation command)` Updates the metadata stored under the given key to be the provided value.
`void` | `MemoryStorage.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `MemoryStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Stores the object under the key `id`.
`void` | `MemoryStorage.unstore(Id id, Continuation c)` Removes the object from the list of stored objects.
`void` | `PersistentStorage.getObject(Id id, Continuation c)` Returns the object identified by the given id.
`void` | `PersistentStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation c)` Updates the metadata stored under the given key to be the provided value.
`void` | `PersistentStorage.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `PersistentStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Makes the object persistent to disk and stored permanantly If the object is already persistent, this method will simply update the object's serialized image.
`void` | `PersistentStorage.unstore(Id id, Continuation c)` Request to remove the object from the list of persistend objects.
`void` | `Storage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Stores an object in this storage.
`void` | `Storage.unstore(Id id, Continuation c)` Removes the object from the list of stored objects.
`void` | `StorageManagerImpl.getObject(Id id, Continuation c)` Returns the object identified by the given id, or `null` if there is no cooresponding object (through receiveResult on c).
`void` | `StorageManagerImpl.setMetadata(Id id, java.io.Serializable metadata, Continuation command)` Updates the metadata stored under the given key to be the provided value.
`void` | `StorageManagerImpl.setMaximumSize(int size, Continuation c)` Sets the maximum size of the cache, in bytes.
`void` | `StorageManagerImpl.rename(Id oldId, Id newId, Continuation c)` Renames the given object to the new id.
`void` | `StorageManagerImpl.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Stores an object in this storage.
`void` | `StorageManagerImpl.unstore(Id id, Continuation c)` Removes the object from the list of stored objects.
`void` | `StorageManagerImpl.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)` Caches an object in this storage.
`void` | `StorageManagerImpl.uncache(Id id, Continuation c)` Removes the object from the list of cached objects.

Uses of Continuation in rice.persistence.testing

Methods in rice.persistence.testing with parameters of type Continuation
`void` | `LRUCacheTest.setUp(Continuation c)` The JUnit setup method
`void` | `MemoryStorageTest.setUp(Continuation c)` The JUnit setup method
`void` | `MemoryStorageTest.testRetreival(Continuation c)` A unit test for JUnit
`void` | `MemoryStorageTest.testExists(Continuation c)` A unit test for JUnit

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2005 - Rice Pastry.