Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.caching
Interface Cacheable  view Cacheable download Cacheable.java

All Known Implementing Classes:
CachedObject

public interface Cacheable

Cacheable is the interface that defines which methods must be implemented by all objects wishing to be placed in the cache.


Method Summary
 int getFrequency()
          By requiring all objects to determine their own number of use.
 java.lang.Object getIdentifier()
          This method will ensure that the caching service is not responsible for uniquely identifying objects placed in the cache.
 void setFrequency(int frequency)
           
 

Method Detail

getFrequency

public int getFrequency()
By requiring all objects to determine their own number of use.


setFrequency

public void setFrequency(int frequency)

getIdentifier

public java.lang.Object getIdentifier()
This method will ensure that the caching service is not responsible for uniquely identifying objects placed in the cache.