|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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
|
protected Continuation |
Continuation.NamedContinuation.parent
|
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. |
Methods in rice with parameters of type Continuation | |
---|---|
protected abstract void |
Continuation.ExternalContinuationRunnable.execute(Continuation c)
|
protected void |
Continuation.ExternalRunnable.execute(Continuation c)
|
Constructors in rice with parameters of type 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 |
|
Continuation.StandardContinuation(Continuation continuation)
Constructor which takes in the parent continuation for this continuation. |
Uses of Continuation in rice.environment.processing |
---|
Methods in rice.environment.processing with parameters of type Continuation | |
---|---|
void |
Processor.process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
Schedules a job for processing on the dedicated processing thread. |
Constructors in rice.environment.processing with parameters of type Continuation | |
---|---|
WorkRequest(Continuation c,
SelectorManager sm)
|
Uses of Continuation in rice.environment.processing.sim |
---|
Methods in rice.environment.processing.sim with parameters of type Continuation | |
---|---|
void |
SimProcessor.process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
|
Uses of Continuation in rice.environment.processing.simple |
---|
Methods in rice.environment.processing.simple with parameters of type Continuation | |
---|---|
void |
SimpleProcessor.process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
Schedules a job for processing on the dedicated processing thread. |
Constructors in rice.environment.processing.simple with parameters of type Continuation | |
---|---|
ProcessingRequest(Executable r,
Continuation c,
LogManager logging,
TimeSource timeSource,
SelectorManager selectorManager)
|
Uses of Continuation in rice.p2p.aggregation |
---|
Fields in rice.p2p.aggregation declared as Continuation | |
---|---|
protected Continuation |
AggregationImpl.flushWait
|
Methods in rice.p2p.aggregation with parameters of type Continuation | |
---|---|
void |
AggregationImpl.fetch(PastContentHandle handle,
Continuation command)
|
void |
Moraine.fetch(PastContentHandle handle,
Continuation command)
|
void |
Aggregation.flush(Continuation command)
Creates aggregates from all objects in the local object cache. |
void |
AggregationImpl.flush(Continuation command)
|
void |
Aggregation.flush(Id id,
Continuation command)
Creates an aggregate that includes the most current object with the specified key. |
void |
AggregationImpl.flush(Id id,
Continuation command)
|
void |
AggregationImpl.insert(PastContent obj,
Continuation command)
|
void |
Moraine.insert(PastContent obj,
Continuation command)
|
void |
AggregationImpl.insert(PastContent obj,
long lifetime,
Continuation command)
|
void |
Moraine.insert(PastContent obj,
long expiration,
Continuation command)
|
void |
AggregationImpl.lookup(Id id,
boolean cache,
Continuation command)
|
void |
Moraine.lookup(Id id,
boolean cache,
Continuation command)
|
void |
AggregationImpl.lookup(Id id,
Continuation command)
|
void |
Moraine.lookup(Id id,
Continuation command)
|
void |
AggregationImpl.lookup(Id id,
long version,
Continuation command)
|
void |
Moraine.lookup(Id id,
long version,
Continuation command)
|
void |
AggregationImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
|
void |
Moraine.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
|
void |
AggregationImpl.lookupHandles(Id id,
int max,
Continuation command)
|
void |
Moraine.lookupHandles(Id id,
int max,
Continuation command)
|
void |
AggregationImpl.lookupHandles(Id id,
long version,
int max,
Continuation command)
|
void |
Moraine.lookupHandles(Id id,
long version,
int num,
Continuation command)
|
void |
AggregationImpl.refresh(Id[] ids,
long[] expirations,
Continuation command)
|
void |
Moraine.refresh(Id[] ids,
long[] expirations,
Continuation command)
|
void |
AggregationImpl.refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
|
void |
Moraine.refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
|
void |
AggregationImpl.refresh(Id[] ids,
long expiration,
Continuation command)
|
void |
Moraine.refresh(Id[] ids,
long expiration,
Continuation command)
|
void |
Aggregation.reset(Continuation command)
Deletes all local state, including the aggregate list and all objects waiting in the local buffer. |
void |
AggregationImpl.reset(Continuation command)
|
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 |
AggregationImpl.rollback(Id id,
Continuation command)
|
void |
Aggregation.setHandle(java.io.Serializable handle,
Continuation command)
Restores the handle object. |
void |
AggregationImpl.setHandle(java.io.Serializable handle,
Continuation command)
|
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 |
GlacierImpl.emptyTrash(Continuation c)
|
void |
GlacierImpl.fetch(PastContentHandle handle,
Continuation command)
|
void |
GlacierImpl.insert(PastContent obj,
Continuation command)
|
void |
GlacierImpl.insert(PastContent obj,
long expiration,
Continuation command)
|
void |
GlacierImpl.lookup(Id id,
boolean cache,
Continuation command)
|
void |
GlacierImpl.lookup(Id id,
Continuation command)
|
void |
GlacierImpl.lookup(Id id,
long version,
Continuation command)
|
void |
GlacierImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
|
void |
GlacierImpl.lookupHandles(Id id,
int num,
Continuation command)
|
void |
GlacierImpl.lookupHandles(Id id,
long version,
int num,
Continuation command)
|
void |
GlacierDefaultPolicy.prefetchLocalObject(VersionKey key,
Continuation command)
|
void |
GlacierPolicy.prefetchLocalObject(VersionKey key,
Continuation command)
|
void |
GlacierImpl.refresh(Id[] ids,
long[] expirations,
Continuation command)
|
void |
GlacierImpl.refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
|
void |
GlacierImpl.refresh(Id[] ids,
long expiration,
Continuation command)
|
void |
GlacierImpl.retrieveManifest(VersionKey key,
char tag,
Continuation command)
|
void |
GlacierImpl.retrieveObject(VersionKey key,
Manifest manifest,
boolean beStrict,
char tag,
Continuation c)
|
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 | |
---|---|
protected Continuation |
PastImpl.getFetchResponseContinuation(PastMessage msg)
Do like above, but use a socket |
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 |
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,
boolean useSocket)
Internal method which actually performs an insert for a given object. |
void |
PastImpl.existsInOverlay(Id id,
Continuation command)
|
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. |
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 |
Past.fetch(PastContentHandle handle,
Continuation command)
Retrieves the object associated with a given content handle. |
void |
PastImpl.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. |
void |
Past.insert(PastContent obj,
Continuation command)
Inserts an object with the given ID into this instance of Past. |
void |
PastImpl.insert(PastContent obj,
Continuation command)
Inserts an object with the given ID into this instance of Past. |
void |
Past.lookup(Id id,
boolean cache,
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 |
Past.lookup(Id id,
Continuation command)
Retrieves the object stored in this instance of Past with the given ID. |
void |
PastImpl.lookup(Id id,
Continuation command)
Retrieves 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 |
PastImpl.lookupHandle(Id id,
NodeHandle handle,
Continuation command)
Retrieves the handle for the given object stored on the requested node. |
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 |
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.reInsert(Id id,
Continuation command)
|
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. |
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(Id id,
PastMessage message,
NodeHandle hint,
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. |
Uses of Continuation in rice.p2p.past.gc |
---|
Methods in rice.p2p.past.gc with parameters of type Continuation | |
---|---|
protected void |
GCPastImpl.collect(java.util.SortedMap map,
Continuation command)
Internal method which collects all of the objects in the given set |
void |
GCPastImpl.existsInOverlay(Id id,
Continuation command)
|
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 |
GCPast.insert(PastContent obj,
Continuation command)
Inserts an object with the given ID into this instance of Past. |
void |
GCPastImpl.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 |
GCPastImpl.insert(PastContent obj,
long expiration,
Continuation command)
Inserts an object with the given ID into this instance of Past. |
void |
GCEndpoint.process(Executable task,
Continuation command)
Schedules a job for processing on the dedicated processing thread. |
protected void |
GCPastImpl.refresh(GCIdSet ids,
Continuation command)
Internal method which actually does the refreshing. |
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.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. |
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.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.reInsert(Id id,
Continuation command)
|
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,
Environment env,
java.lang.String instance)
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,
Environment env,
java.lang.String instance)
Method by which this message is supposed to return it's response. |
void |
ContinuationMessage.returnResponse(Continuation c,
Environment env,
java.lang.String instance)
Method by which this message is supposed to return it's response. |
void |
MessageLostMessage.returnResponse(Continuation c,
Environment env,
java.lang.String instance)
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,
Environment env,
java.lang.String instance)
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 |
protected class |
RawPastRegrTest.TestCommand
Common superclass for test commands. |
protected class |
RawPastRegrTest.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.existsInOverlay(Id id,
Continuation command)
This upcall should return whether or not the given id is currently stored somewhere in the overlay by the client. |
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.reInsert(Id id,
Continuation command)
Asks a client to reinsert an object it already holds into the overlay |
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.existsInOverlay(Id id,
Continuation command)
|
void |
ReplicationManagerRegrTest.TestReplicationManagerClient.fetch(Id id,
NodeHandle hint,
Continuation command)
|
void |
ReplicationManagerRegrTest.TestReplicationManagerClient.reInsert(Id id,
Continuation command)
|
void |
ReplicationManagerRegrTest.TestReplicationManagerClient.remove(Id id,
Continuation command)
|
Uses of Continuation in rice.pastry |
---|
Methods in rice.pastry with parameters of type Continuation | |
---|---|
abstract CancellableTask |
PastryNodeFactory.getLeafSet(NodeHandle handle,
Continuation c)
Non-blocking version. |
abstract CancellableTask |
PastryNodeFactory.getRouteRow(NodeHandle handle,
int row,
Continuation c)
Non-blocking version. |
void |
PastryNode.process(Executable task,
Continuation command)
Schedules a job for processing on the dedicated processing thread, should one exist. |
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.direct |
---|
Methods in rice.pastry.direct with parameters of type Continuation | |
---|---|
CancellableTask |
DirectPastryNodeFactory.getLeafSet(NodeHandle handle,
Continuation c)
|
CancellableTask |
DirectPastryNodeFactory.getRouteRow(NodeHandle handle,
int row,
Continuation c)
|
Uses of Continuation in rice.pastry.dist |
---|
Methods in rice.pastry.dist with parameters of type Continuation | |
---|---|
abstract CancellableTask |
DistPastryNodeFactory.generateNodeHandle(java.net.InetSocketAddress address,
Continuation c)
|
CancellableTask |
DistPastryNodeFactory.getNodeHandle(java.net.InetSocketAddress[] addresses,
Continuation c)
|
CancellableTask |
DistPastryNodeFactory.getNodeHandle(java.net.InetSocketAddress address,
Continuation c)
|
void |
DistPastryNode.process(Executable task,
Continuation command)
Schedules a job for processing on the dedicated processing thread. |
Uses of Continuation in rice.pastry.socket |
---|
Methods in rice.pastry.socket with parameters of type Continuation | |
---|---|
CancellableTask |
SocketPastryNodeFactory.generateNodeHandle(java.net.InetSocketAddress address,
Continuation c)
|
CancellableTask |
SocketPastryNodeFactory.getLeafSet(NodeHandle handle,
Continuation c)
|
protected CancellableTask |
SocketPastryNodeFactory.getResponse(java.net.InetSocketAddress address,
Message message,
Continuation c)
|
CancellableTask |
SocketPastryNodeFactory.getRouteRow(NodeHandle handle,
int row,
Continuation c)
|
void |
SocketPastryNode.testFireWall(NodeHandle bootstrap,
Continuation c,
int timeout)
|
void |
SocketPastryNode.testFireWall(NodeHandle bootstrap,
Continuation c,
int timeout,
int tries)
Try multiple times... |
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 |
EmptyCache.cache(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Caches an object in this storage. |
void |
LRUCache.cache(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Caches an object in this storage. |
void |
StorageManagerImpl.cache(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Caches an object in this storage. |
void |
Catalog.flush(Continuation c)
Method which is used to erase all data stored in the Catalog. |
void |
EmptyCache.flush(Continuation c)
Method which is used to erase all data stored in the Catalog. |
void |
LRUCache.flush(Continuation c)
Method which is used to erase all data stored in the Cache. |
void |
MemoryStorage.flush(Continuation c)
Method which is used to erase all data stored in the Storage. |
void |
PersistentStorage.flush(Continuation c)
Method which is used to erase all data stored in the Catalog. |
void |
StorageManagerImpl.flush(Continuation c)
Method which is used to erase all data stored in the Catalog. |
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 |
EmptyCache.getObject(Id id,
Continuation c)
Returns the object identified by the given id. |
void |
LRUCache.getObject(Id id,
Continuation c)
Returns the object identified by the given id. |
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 |
PersistentStorage.getObject(Id id,
Continuation c)
Returns the object identified by the given id. |
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 |
LockManager.lock(Id id,
Continuation c)
|
void |
LockManagerImpl.lock(Id id,
Continuation c)
|
void |
Catalog.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
EmptyCache.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
LRUCache.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
MemoryStorage.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
PersistentStorage.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
StorageManagerImpl.rename(Id oldId,
Id newId,
Continuation c)
Renames the given object to the new id. |
void |
Cache.setMaximumSize(int size,
Continuation c)
Sets the maximum size of the cache, in bytes. |
void |
EmptyCache.setMaximumSize(int size,
Continuation c)
Sets the maximum size of the cache, in bytes. |
void |
LRUCache.setMaximumSize(int size,
Continuation c)
Sets the maximum size of the cache, in bytes. |
void |
StorageManagerImpl.setMaximumSize(int size,
Continuation c)
Sets the maximum size of the cache, in bytes. |
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 |
EmptyCache.setMetadata(Id id,
java.io.Serializable metadata,
Continuation c)
Updates the metadata stored under the given key to be the provided value. |
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 |
MemoryStorage.setMetadata(Id id,
java.io.Serializable metadata,
Continuation command)
Updates the metadata stored under the given key to be the provided value. |
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 |
StorageManagerImpl.setMetadata(Id id,
java.io.Serializable metadata,
Continuation command)
Updates the metadata stored under the given key to be the provided value. |
void |
MemoryStorage.store(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Stores the object under the key 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 |
Storage.store(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Stores an object in this storage. |
void |
StorageManagerImpl.store(Id id,
java.io.Serializable metadata,
java.io.Serializable obj,
Continuation c)
Stores an object in this storage. |
void |
Cache.uncache(Id id,
Continuation c)
Removes the object from the list of cached objects. |
void |
EmptyCache.uncache(Id id,
Continuation c)
Removes the object from the list of cached objects. |
void |
LRUCache.uncache(Id id,
Continuation c)
Removes the object from the list of cached objects. |
void |
StorageManagerImpl.uncache(Id id,
Continuation c)
Removes the object from the list of cached objects. |
void |
MemoryStorage.unstore(Id id,
Continuation c)
Removes the object from the list of stored objects. |
void |
PersistentStorage.unstore(Id id,
Continuation c)
Request to remove the object from the list of persistend objects. |
void |
Storage.unstore(Id id,
Continuation c)
Removes the object from the list of stored objects. |
void |
StorageManagerImpl.unstore(Id id,
Continuation c)
Removes the object from the list of stored objects. |
Uses of Continuation in rice.persistence.testing |
---|
Methods in rice.persistence.testing with parameters of type Continuation | |
---|---|
void |
LRUCacheTest.setUp(Continuation c)
|
void |
MemoryStorageTest.setUp(Continuation c)
|
void |
MemoryStorageTest.testExists(Continuation c)
|
void |
MemoryStorageTest.testRetreival(Continuation c)
|
Uses of Continuation in rice.tutorial.rawserialization2 |
---|
Classes in rice.tutorial.rawserialization2 that implement Continuation | |
---|---|
class |
MyMsg
An example message. |
|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |