public abstract class CacheBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
CacheBase(String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
computeHitRate()
the hit rate, 0-100%
|
abstract double |
computeLoadFactor()
the load factor, 0-100%
|
abstract long |
getAccessCount()
number of times the cache was accessed
|
abstract int |
getCacheSize()
size of the cache
|
String |
getName()
name of the cache.
|
abstract int |
getNumberOfClears()
number of times cache was cleared
|
abstract int |
getNumberOfGrows()
number of times cache was growed
|
abstract int |
getNumberOfPartialClears()
number of times cache was partially
|
protected CacheBase(String name)
public String getName()
public abstract double computeLoadFactor()
public abstract double computeHitRate()
public abstract long getAccessCount()
public abstract int getCacheSize()
public abstract int getNumberOfClears()
public abstract int getNumberOfPartialClears()
public abstract int getNumberOfGrows()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.