org.apache.jackrabbit.core.cache
Interface CacheAccessListener

All Known Implementing Classes:
CacheManager

public interface CacheAccessListener

The cache access listener can be registered to a class. From time to time, the method cacheAccess is called.


Field Summary
static int ACCESS_INTERVAL
          The access listener is only called each x accesses.
 
Method Summary
 void cacheAccessed()
          The cache calls this method after a number of accessed.
 void disposeCache(Cache cache)
          Called after the cache is no longer used.
 

Field Detail

ACCESS_INTERVAL

static final int ACCESS_INTERVAL
The access listener is only called each x accesses.

See Also:
Constant Field Values
Method Detail

cacheAccessed

void cacheAccessed()
The cache calls this method after a number of accessed.


disposeCache

void disposeCache(Cache cache)
Called after the cache is no longer used.



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.