org.das2.dataset.AbstractDataSetCache

Keeps keep track of cache statistics and to give consistent log messages, and provides the Entry class.

AbstractDataSetCache( )


hits


misses


coalese

coalese( java.util.List result ) → DataSet

return the DataSet described by the set of DataSets if possible.

Parameters

result - a java.util.List

Returns:

org.das2.dataset.DataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]


haveStored

haveStored( org.das2.dataset.DataSetDescriptor dsd, org.das2.datum.CacheTag cacheTag ) → boolean

Parameters

dsd - a DataSetDescriptor
cacheTag - a CacheTag

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isResetCache

isResetCache( ) → boolean

Getter for property resetCache.

Returns:

Value of property resetCache.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


reset

reset( ) → void

reset the internal state of the cache

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


retrieve

retrieve( org.das2.dataset.DataSetDescriptor dsd, org.das2.datum.CacheTag cacheTag ) → DataSet

Parameters

dsd - a DataSetDescriptor
cacheTag - a CacheTag

Returns:

org.das2.dataset.DataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setResetCache

setResetCache( boolean resetCache ) → void

Setter for property resetCache.

Parameters

resetCache - New value of property resetCache.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


store

store( org.das2.dataset.DataSetDescriptor dsd, org.das2.datum.CacheTag cacheTag, org.das2.dataset.DataSet data ) → void

Parameters

dsd - a DataSetDescriptor
cacheTag - a CacheTag
data - a DataSet

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]