edu.unh.sdb.datasource
Class BlockCache
java.lang.Object
edu.unh.sdb.datasource.BlockCache
- Direct Known Subclasses:
- LRUCache, ThreadedSliceCache
public abstract class BlockCache
- extends java.lang.Object
The BlockCache class is the parent class for all caches that store blocks
of data in memory. Typically, these blocks are read from disk in order to
achieve a speedup by reducing the total number of reads made to disk.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cacheBlockBounds
protected ISBounds cacheBlockBounds
cacheBlockDimensions
protected int[] cacheBlockDimensions
spacePartitioning
protected RegularISPartitioning spacePartitioning
tagAxisWeights
protected long[] tagAxisWeights
spacePartitioningOrdering
protected AxisOrdering spacePartitioningOrdering
partitioningDimensions
protected int[] partitioningDimensions
numCacheBlocks
protected int numCacheBlocks
theSource
protected PhysicalDataSource theSource
dimensionality
protected int dimensionality
numAttributes
protected int numAttributes
iterationSpaceBounds
protected ISBounds iterationSpaceBounds
lowerIterationSpaceCoords
protected int[] lowerIterationSpaceCoords
upperIterationSpaceCoords
protected int[] upperIterationSpaceCoords
iterationSpaceDimensions
protected int[] iterationSpaceDimensions
dsSpaceBounds
protected ISBounds dsSpaceBounds
lowerDSSpaceCoords
protected int[] lowerDSSpaceCoords
upperDSSpaceCoords
protected int[] upperDSSpaceCoords
dsSpaceDimensions
protected int[] dsSpaceDimensions
tagToBounds
public final ISBounds tagToBounds(long tag,
ISBounds bounds)
- Return the bounds of the region in the index space corresponding to the
given tag.
tagToPartitioningCoords
public final int[] tagToPartitioningCoords(long tag,
int[] pcoords)