|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCachingScheme
public abstract class CachingScheme
This abstract class creates RC objects (RCDtrees and RCDgraphs) by giving assigning the caching to the nodes.
Nested Class Summary | |
---|---|
static interface |
CachingScheme.RCCreateListener
|
Constructor Summary | |
---|---|
CachingScheme(double cacheFactor)
|
Method Summary | |
---|---|
abstract void |
allocateMemory(RC rc,
CachingScheme.RCCreateListener listnr)
Have this CachingScheme allocate the memory for the RC object. |
void |
allocateMemory(RCDgraph graph,
CachingScheme.RCCreateListener listnr)
Have this CachingScheme allocate the memory for the RC object. |
void |
allocateMemory(RCDtree tree,
CachingScheme.RCCreateListener listnr)
Have this CachingScheme allocate the memory for the RC object. |
double |
getCacheFactor()
|
void |
setCacheFactor(double cacheFactor)
Fraction of maximum possible cache to use. |
String |
toString()
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CachingScheme(double cacheFactor)
Method Detail |
---|
public String toString()
toString
in class Object
public double getCacheFactor()
public void setCacheFactor(double cacheFactor)
public void allocateMemory(RCDtree tree, CachingScheme.RCCreateListener listnr)
listnr
- Some CachingSchemes use this to return updates to (can be null).public void allocateMemory(RCDgraph graph, CachingScheme.RCCreateListener listnr)
listnr
- Some CachingSchemes use this to return updates to (can be null).public abstract void allocateMemory(RC rc, CachingScheme.RCCreateListener listnr)
listnr
- Some CachingSchemes use this to return updates to (can be null).
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |