public class ThreadedSliceCacheDataSource extends BlockCacheDataSource
fdlDescriptor, isActivated, name, wsName
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc
Constructor and Description |
---|
ThreadedSliceCacheDataSource(java.lang.String name,
DataSource ds,
int sliceAxis,
IndexSpaceID blockDimensions)
Creates a ThreadedSliceCacheDataSource that caches the specified DataSource.
|
ThreadedSliceCacheDataSource(java.lang.String name,
DataSource ds,
ISBounds iterationSpace,
int sliceAxis,
IndexSpaceID blockDimensions)
Creates a ThreadedSliceCacheDataSource 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 |
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.
|
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsage
datum, datum, datum, 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, main, 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 ThreadedSliceCacheDataSource(java.lang.String name, DataSource ds, ISBounds iterationSpace, int sliceAxis, IndexSpaceID blockDimensions)
public ThreadedSliceCacheDataSource(java.lang.String name, DataSource ds, int sliceAxis, IndexSpaceID blockDimensions)
public void activate()
activate
in class BlockCacheDataSource
public void deactivate()
deactivate
in class CacheDataSource
protected void halt()