Rice Pastry API

Uses of Interface
rice.Continuation

Packages that use Continuation
rice   
rice.p2p.past   
rice.p2p.past.messaging   
rice.p2p.past.testing   
rice.past   
rice.past.testing   
rice.persistence   
rice.persistence.testing   
 

Uses of Continuation in rice
 

Classes in rice that implement Continuation
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.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  rice.Continuation Continuation.StandardContinuation.parent
          The parent continuation
 

Constructors in rice with parameters of type Continuation
Continuation.StandardContinuation(rice.Continuation continuation)
          Constructor which takes in the parent continuation for this continuation.
 

Uses of Continuation in rice.p2p.past
 

Methods in rice.p2p.past with parameters of type Continuation
 void ContentHashPastContent.insert(rice.p2p.past.Past past, rice.Continuation command)
          Inserts this object into its associated Past instance.
 void Past.insert(rice.p2p.past.PastContent obj, rice.Continuation command)
          Inserts an object with the given ID into this instance of Past.
 void Past.lookup(rice.p2p.commonapi.Id id, rice.Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void Past.lookupHandles(rice.p2p.commonapi.Id id, int max, rice.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.fetch(rice.p2p.past.PastContentHandle handle, rice.Continuation command)
          Retrieves the object associated with a given content handle.
 void PastImpl.insert(rice.p2p.past.PastContent obj, rice.Continuation command)
          Inserts an object with the given ID into this instance of Past.
 void PastImpl.lookup(rice.p2p.commonapi.Id id, rice.Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void PastImpl.lookupHandles(rice.p2p.commonapi.Id id, int max, rice.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.fetch(rice.p2p.past.PastContentHandle handle, rice.Continuation command)
          Retrieves the object associated with a given content handle.
 

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(rice.Continuation c)
          Method by which this message is supposed to return it's response.
 void ContinuationMessage.returnResponse(rice.Continuation c)
          Method by which this message is supposed to return it's response.
 void MessageLostMessage.returnResponse(rice.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(rice.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.past
 

Methods in rice.past with parameters of type Continuation
 void PASTService.insert(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation command)
          Deprecated. Inserts an object with the given ID into distributed storage.
 void PASTService.lookup(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Retrieves the object and all associated updates with the given ID.
 void PASTService.exists(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Determines whether an object is currently stored at the given ID.
 void PASTService.delete(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Reclaims the storage used by the object with the given ID.
protected  void PASTServiceImpl._sendRequestMessage(rice.past.messaging.PASTMessage msg, rice.Continuation command)
          Deprecated. Sends a request message and stores the given command to be executed when the response is received.
 void PASTServiceImpl.insert(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation command)
          Deprecated. Inserts an object with the given ID into distributed storage.
 void PASTServiceImpl.lookup(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Retrieves the object and all associated updates with the given ID.
 void PASTServiceImpl.exists(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Determines whether an object is currently stored at the given ID.
 void PASTServiceImpl.delete(rice.p2p.commonapi.Id id, rice.Continuation command)
          Deprecated. Reclaims the storage used by the object with the given ID.
 

Uses of Continuation in rice.past.testing
 

Classes in rice.past.testing that implement Continuation
protected  class DistPASTRegrTest.TestCommand
          Deprecated. Common superclass for test commands.
 

Uses of Continuation in rice.persistence
 

Methods in rice.persistence with parameters of type Continuation
 void Cache.cache(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Caches an object in this storage.
 void Cache.uncache(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of cached objects.
 void Cache.getMaximumSize(rice.Continuation c)
          Returns the maximum size of the cache, in bytes.
 void Cache.setMaximumSize(int size, rice.Continuation c)
          Sets the maximum size of the cache, in bytes.
 void Catalog.exists(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns whether or not an object is present in the location id.
 void Catalog.getObject(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void Catalog.scan(rice.p2p.commonapi.IdRange range, rice.Continuation c)
          Return the objects identified by the given range of ids.
 void Catalog.getTotalSize(rice.Continuation c)
          Returns the total size of the stored data in bytes.The result is returned via the receiveResult method on the provided Continuation with an Integer representing the size.
 void LRUCache.cache(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Caches an object in this storage.
 void LRUCache.uncache(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of cached objects.
 void LRUCache.exists(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns whether or not an object is cached in the location id.
 void LRUCache.getObject(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns the object identified by the given id.
 void LRUCache.scan(rice.p2p.commonapi.IdRange range, rice.Continuation c)
          Return the objects identified by the given range of ids.
 void LRUCache.getMaximumSize(rice.Continuation c)
          Returns the maximum size of the cache, in bytes.
 void LRUCache.getTotalSize(rice.Continuation c)
          Returns the total size of the stored data in bytes.
 void LRUCache.setMaximumSize(int size, rice.Continuation c)
          Sets the maximum size of the cache, in bytes.
 void MemoryStorage.store(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Stores the object under the key id.
 void MemoryStorage.unstore(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of stored objects.
 void MemoryStorage.exists(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns whether or not the provided id exists, by returning a Boolean through receiveResult on c
 void MemoryStorage.getObject(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void MemoryStorage.scan(rice.p2p.commonapi.IdRange range, rice.Continuation c)
          Return the objects identified by the given range of ids.
 void MemoryStorage.getTotalSize(rice.Continuation c)
          Returns the total size of the stored data in bytes.The result is returned via the receiveResult method on the provided Continuation with an Integer representing the size.
 void PersistentStorage.store(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.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(rice.p2p.commonapi.Id id, rice.Continuation c)
          Request to remove the object from the list of persistend objects.
 void PersistentStorage.exists(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns whether or not an object is present in the location id.
 void PersistentStorage.getObject(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns the object identified by the given id.
 void PersistentStorage.scan(rice.p2p.commonapi.IdRange range, rice.Continuation c)
          Return the objects identified by the given range of ids.
 void PersistentStorage.getTotalSize(rice.Continuation c)
          Returns the total size of the stored data in bytes.The result is returned via the receiveResult method on the provided Continuation with an Integer representing the size.
 void Storage.store(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Stores an object in this storage.
 void Storage.unstore(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of stored objects.
 void StorageManager.exists(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns whether or not an object is present in the location id.
 void StorageManager.getObject(rice.p2p.commonapi.Id id, rice.Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void StorageManager.scan(rice.p2p.commonapi.IdRange range, rice.Continuation c)
          Return the objects identified by the given range of ids.
 void StorageManager.getTotalSize(rice.Continuation c)
          Returns the total size of the stored data in bytes.The result is returned via the receiveResult method on the provided Continuation with an Integer representing the size.
 void StorageManager.store(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Stores an object in this storage.
 void StorageManager.unstore(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of stored objects.
 void StorageManager.cache(rice.p2p.commonapi.Id id, java.io.Serializable obj, rice.Continuation c)
          Caches an object in this storage.
 void StorageManager.uncache(rice.p2p.commonapi.Id id, rice.Continuation c)
          Removes the object from the list of cached objects.
 void StorageManager.getMaximumSize(rice.Continuation c)
          Returns the maximum size of the cache, in bytes.
 void StorageManager.setMaximumSize(int size, rice.Continuation c)
          Sets the maximum size of the cache, in bytes.
 

Uses of Continuation in rice.persistence.testing
 

Methods in rice.persistence.testing with parameters of type Continuation
 void LRUCacheTest.setUp(rice.Continuation c)
           
 void MemoryStorageTest.setUp(rice.Continuation c)
           
 void MemoryStorageTest.testRetreival(rice.Continuation c)
           
 void MemoryStorageTest.testExists(rice.Continuation c)
           
 


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection