| |
|
| java.lang.Object java.lang.Thread com.knowgate.cache.ExpireableCache
All known Subclasses: com.knowgate.cache.AttributedExpireableCache,
ExpireableCache | public class ExpireableCache extends Thread (Code) | | This class represents a cache that automatically expires objects when a certain fillness
factor is reached.
author: Sebastian Schaffert |
Inner Class :protected class MyHeap | |
capacity | protected int capacity(Code) | | |
expire_factor | protected float expire_factor(Code) | | |
max_keep_alive | protected long max_keep_alive(Code) | | |
misses | protected int misses(Code) | | |
shutdown | protected boolean shutdown(Code) | | |
timestamps | protected MyHeap timestamps(Code) | | |
ExpireableCache | public ExpireableCache(int capacity, float expire_factor, long max_keep_alive)(Code) | | |
ExpireableCache | public ExpireableCache(int capacity)(Code) | | |
expireOver | protected synchronized void expireOver()(Code) | | |
getCapacity | public int getCapacity()(Code) | | |
getHits | public int getHits()(Code) | | |
getMisses | public int getMisses()(Code) | | |
getUsage | public int getUsage()(Code) | | |
setCapacity | public void setCapacity(int size)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|
|