public class UniBlockCacheDataSource extends BlockCacheDataSource
fdlDescriptor, isActivated, name, wsName
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
UniBlockCacheDataSource(java.lang.String name,
DataSource ds,
IndexSpaceID blockDimensions)
Create a UniBlockCacheDataSource with a single CacheBlock connected to the DataSource
argument.
|
UniBlockCacheDataSource(java.lang.String name,
DataSource ds,
ISBounds iterationSpace,
IndexSpaceID blockDimensions)
Create a UniBlockCacheDataSource 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 CacheBlock.
|
CacheDataBlock |
getCacheBlockReference()
Return the cache reference for possible need to assignment operation.
|
static void |
main(java.lang.String[] args)
For debugging.
|
void |
nextCacheBlock(ISBounds cacheSrcBounds)
Read the data into the theCache which is referenced by the cache block
Added by Baoqiang Yan on 11/30/2007
|
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsage
datum, 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 UniBlockCacheDataSource(java.lang.String name, DataSource ds, ISBounds iterationSpace, IndexSpaceID blockDimensions)
public UniBlockCacheDataSource(java.lang.String name, DataSource ds, IndexSpaceID blockDimensions)
public CacheDataBlock getCacheBlockReference()
public void nextCacheBlock(ISBounds cacheSrcBounds)
public void activate()
activate
in class BlockCacheDataSource
public static void main(java.lang.String[] args)