public class MultiBlockCacheDataSource extends BlockCacheDataSource
fdlDescriptor, isActivated, name, wsName
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
MultiBlockCacheDataSource(java.lang.String name,
DataSource ds,
IndexSpaceID blockDimensions,
IndexSpaceID cacheDimensions)
Creates a MultiBlockCacheDataSource that caches the specified DataSource.
|
MultiBlockCacheDataSource(java.lang.String name,
DataSource ds,
ISBounds iterationSpace,
IndexSpaceID blockDimensions,
IndexSpaceID cacheDimensions)
Creates a MultiBlockCacheDataSource that caches the specified DataSource.
|
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.
|
void |
datum(Datum datum,
IndexSpaceID did)
Load the data at the given index into the provided datum.
|
IndexSpaceID |
getCacheArrayDimensions() |
ISPartitioning |
getPartitioning()
Return a partitioning corresponding to the manner in which the iteration
space is divided into cache block regions by the cache.
|
static void |
main(java.lang.String[] args)
For debugging.
|
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsage
datum, datum, deactivate, getIterationSpace, getSource, subblock, subblock, useBytesOnly
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getFDLDescriptor, getMetadataCollection, getName, getStatistics, getValues, isActivated, setMetadataCollection, toString, toString
byteSize, 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, volume
public MultiBlockCacheDataSource(java.lang.String name, DataSource ds, ISBounds iterationSpace, IndexSpaceID blockDimensions, IndexSpaceID cacheDimensions)
public MultiBlockCacheDataSource(java.lang.String name, DataSource ds, IndexSpaceID blockDimensions, IndexSpaceID cacheDimensions)
public ISPartitioning getPartitioning()
public void activate()
activate
in class BlockCacheDataSource
public void datum(Datum datum, IndexSpaceID did)
datum
in interface Indexable
datum
in class CacheDataSource
public IndexSpaceID getCacheArrayDimensions()
public static void main(java.lang.String[] args)