Rice Pastry API

Uses of Interface
rice.persistence.Cache

Packages that use Cache
rice.p2p.past   
rice.p2p.past.gc   
rice.persistence   
 

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)
           
PastImpl(Node node, StorageManager manager, Cache backup, int replicas, java.lang.String instance, PastPolicy policy, StorageManager trash, boolean useOwnSocket)
           
PastImpl(Node node, StorageManager manager, Cache backup, int replicas, java.lang.String instance, PastPolicy policy, StorageManager trash, SocketStrategy strategy)
          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.
 


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection