|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cache | |
---|---|
rice.p2p.past | |
rice.p2p.past.gc | |
rice.persistence | |
rice.post.delivery | |
rice.post.proxy | |
rice.post.storage |
Uses of Cache in rice.p2p.past |
---|
Fields in rice.p2p.past declared as Cache | |
---|---|
protected Cache |
PastImpl.backup
|
Methods in rice.p2p.past with parameters of type Cache | |
---|---|
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. |
Constructors in rice.p2p.past with parameters of type Cache | |
---|---|
PastImpl(Node node,
StorageManager manager,
Cache backup,
int replicas,
java.lang.String instance,
PastPolicy policy,
StorageManager trash)
Constructor for Past |
Uses of Cache in rice.p2p.past.gc |
---|
Constructors in rice.p2p.past.gc with parameters of type Cache | |
---|---|
GCPastImpl(Node node,
StorageManager manager,
Cache backup,
int replicas,
java.lang.String instance,
PastPolicy policy,
long collectionInterval,
StorageManager trash)
Constructor for GCPast |
Uses of Cache in rice.persistence |
---|
Subinterfaces of Cache in rice.persistence | |
---|---|
interface |
StorageManager
|
Classes in rice.persistence that implement Cache | |
---|---|
class |
EmptyCache
This class is a cahcce which doesn't store anything. |
class |
LRUCache
This class is an encapsulation of a least-recently-used (LRU) cache. |
class |
StorageManagerImpl
This class provides both persistent and caching services to external applications. |
Methods in rice.persistence that return Cache | |
---|---|
Cache |
StorageManager.getCache()
Returns the cache object used by this StorageManager |
Cache |
StorageManagerImpl.getCache()
Returns the cache object used by this StorageManager |
Constructors in rice.persistence with parameters of type Cache | |
---|---|
StorageManagerImpl(IdFactory factory,
Storage storage,
Cache cache)
Builds a StorageManager given a Storage object to provide storage services and a Cache object to provide caching services. |
Uses of Cache in rice.post.delivery |
---|
Constructors in rice.post.delivery with parameters of type Cache | |
---|---|
DeliveryPastImpl(Node node,
StorageManager manager,
Cache backup,
int replicas,
int redundancy,
java.lang.String instance,
PastImpl delivered,
long collectionInterval)
Constructor for DeliveryPastImpl |
Uses of Cache in rice.post.proxy |
---|
Fields in rice.post.proxy declared as Cache | |
---|---|
protected Cache |
PostProxy.deliveredBackupCache
The local backup cache for pending deliveries |
protected Cache |
PostProxy.immutableBackupCache
The local backup cache, for immutable objects |
protected Cache |
PostProxy.pendingBackupCache
The local backup cache, for pending deliveries |
Uses of Cache in rice.post.storage |
---|
Methods in rice.post.storage with parameters of type Cache | |
---|---|
void |
PostPastPolicy.fetch(Id id,
NodeHandle hint,
Cache backup,
Past past,
Continuation command)
This method fetches the object via a lookup() call. |
|
ePOST API | |||||||||
PREV NEXT | FRAMES NO FRAMES |