public class ThreadedBlockCacheDataSource extends BlockCacheDataSource
| Modifier and Type | Field and Description |
|---|---|
protected AxisOrdering |
iteratorOrdering |
fdlDescriptor, isActivated, name, wsNameattributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc| Constructor and Description |
|---|
ThreadedBlockCacheDataSource(java.lang.String name,
DataSource ds,
IndexSpaceID blockDimensions,
AxisOrdering iteratorOrdering)
Create a ThreadedBlockCacheDataSource with a single CacheBlock connected to the DataSource
argument.
|
ThreadedBlockCacheDataSource(java.lang.String name,
DataSource ds,
ISBounds iterationSpace,
IndexSpaceID blockDimensions,
AxisOrdering iteratorOrdering)
Create a ThreadedBlockCacheDataSource 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.
|
void |
deactivate()
Calls super.deactivate() for the underlying datasource, and waits for any lingering IO threads
to terminate.
|
protected void |
halt()
Any lingering IO threads will have terminated after this method completes.
|
static void |
main(java.lang.String[] args)
For debugging.
|
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsagedatum, datum, datum, 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, volumeprotected AxisOrdering iteratorOrdering
public ThreadedBlockCacheDataSource(java.lang.String name,
DataSource ds,
ISBounds iterationSpace,
IndexSpaceID blockDimensions,
AxisOrdering iteratorOrdering)
public ThreadedBlockCacheDataSource(java.lang.String name,
DataSource ds,
IndexSpaceID blockDimensions,
AxisOrdering iteratorOrdering)
public void activate()
activate in class BlockCacheDataSourcepublic void deactivate()
deactivate in class CacheDataSourceprotected void halt()
public static void main(java.lang.String[] args)