|
|||||||||
| 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.MultiBlockCacheDataSource
public class MultiBlockCacheDataSource
The MultiBlockCacheDataSource provides caching service using a MultiBlockCache.
| 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 | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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, deactivate, 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, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public ISPartitioning getPartitioning()
public void activate()
activate in class BlockCacheDataSource
public void datum(Datum datum,
IndexSpaceID did)
datum in interface Indexabledatum in class CacheDataSourcepublic IndexSpaceID getCacheArrayDimensions()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||