public class LRUCacheDataSource extends BlockCacheDataSource
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
numCacheBlocks  | 
fdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description | 
|---|
LRUCacheDataSource(java.lang.String name,
                  ChunkedDataSource ds,
                  int numCacheBlocks)
Create a LRUCacheDataSource with a single CacheBlock connected to the ChunkedDataSource
 argument. 
 | 
LRUCacheDataSource(java.lang.String name,
                  DataSource ds,
                  IndexSpaceID blockSizes,
                  int numCacheBlocks)
Create a LRUCacheDataSource with a single CacheBlock connected to the DataSource
 argument. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate()
Calls activate() for the underlying datasource, and creates the actual cache,
 which allocates memory for the CacheBlocks. 
 | 
static void | 
main(java.lang.String[] args)
For debugging. 
 | 
void | 
setIterationBounds(ISBounds bounds)  | 
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsagedatum, datum, datum, deactivate, getIterationSpace, getSource, subblock, subblock, useBytesOnlycheckActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, setMetadataCollection, toString, toStringbyteSize, computeOffset, computeOffset, copyBounds, createDataBlock, createDataBlock, createDataBlock, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, datum, datum, datum, datum, dim, getAttributeNames, getAxisOrdering, getAxisWeight, getAxisWeights, getBounds, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytesByAttribute, getBytesByAttribute, getBytesByPoint, getBytesByPoint, getDataOrder, getDimensionsArray, getDouble, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoubles, getDoublesByAttribute, getDoublesByAttribute, getDoublesByPoint, getDoublesByPoint, getFloat, getFloats, getFloats, getFloats, getFloats, getFloats, getFloats, getFloatsByAttribute, getFloatsByAttribute, getFloatsByPoint, getFloatsByPoint, getInt, getInts, getInts, getInts, getInts, getInts, getInts, getIntsByAttribute, getIntsByAttribute, getIntsByPoint, getIntsByPoint, getLowerBoundsArray, getNumAttributes, getRecordDescriptor, getShort, getShorts, getShorts, getShorts, getShorts, getShorts, getShorts, getShortsByAttribute, getShortsByAttribute, getShortsByPoint, getShortsByPoint, getStorageType, getUpperBoundsArray, getValues, getValuesByAttribute, getValuesByPoint, longVolume, setAxisOrdering, setBounds, setRecordDescriptor, size, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, subblock, volumepublic LRUCacheDataSource(java.lang.String name,
                  ChunkedDataSource ds,
                  int numCacheBlocks)
public LRUCacheDataSource(java.lang.String name,
                  DataSource ds,
                  IndexSpaceID blockSizes,
                  int numCacheBlocks)
public void activate()
activate in class BlockCacheDataSourcepublic void setIterationBounds(ISBounds bounds)
public static void main(java.lang.String[] args)