|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.unh.sdb.datasource.DataCollection
edu.unh.sdb.datasource.DataSource
edu.unh.sdb.datasource.CacheDataSource
edu.unh.sdb.datasource.BlockCacheDataSource
edu.unh.sdb.datasource.ThreadedSliceCacheDataSource
public class ThreadedSliceCacheDataSource
| Field Summary |
|---|
| Fields inherited from class edu.unh.sdb.datasource.DataSource |
|---|
fdlDescriptor, isActivated, name, wsName |
| Fields inherited from class edu.unh.sdb.datasource.DataCollection |
|---|
attributeOrder, axisOrdering, axisWeights, bounds, dataOrder, dimensionality, numAttributes, pointOrder, recordDesc |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class edu.unh.sdb.datasource.BlockCacheDataSource |
|---|
getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBounds, getCacheBlockBoundsIterator, getCacheBlockBoundsIterator, getCacheBlockDimensions, getCacheMemoryUsage |
| Methods inherited from class edu.unh.sdb.datasource.CacheDataSource |
|---|
datum, datum, datum, getIterationSpace, getSource, subblock, subblock |
| Methods inherited from class edu.unh.sdb.datasource.DataSource |
|---|
checkActivated, clearCache, copyBestID, create, create, create, createRemote, createRemote, createRemoteClient, createRemoteClient, createRemoteDataSource, createRemoteDataSource, createRemoteDataSourceUDP, createRemoteUDP, createRemoteUDP, dumpData, equals, getName, getValues, isActivated, main, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public void activate()
activate in class BlockCacheDataSourcepublic void deactivate()
deactivate in class CacheDataSourceprotected void halt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||