org.das2.dataset.LimitSizeBytesDataSetCache

DataCache that attempts to limit the amount of memory it consumes, by using DataSetUtil.guessSizeBytes(DataSet)

LimitSizeBytesDataSetCache( long totalSizeLimitBytes )

Creates a new instance of LimitSizeBytesDataSetCache


getDisplayString

getDisplayString( ) → String

Returns:

java.lang.String

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


getEntries

getEntries( ) → org.das2.dataset.AbstractDataSetCache.Entry[]

Returns:

org.das2.dataset.AbstractDataSetCache.Entry[]

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

getEntries( int i ) → org.das2.dataset.AbstractDataSetCache.Entry

getHitRate

getHitRate( ) → Datum

Returns:

org.das2.datum.Datum

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


getTotalSize

getTotalSize( ) → Datum

Returns:

org.das2.datum.Datum

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


getTotalSizeLimit

getTotalSizeLimit( ) → Datum

Returns:

org.das2.datum.Datum

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


reset

reset( ) → void

Returns:

void (returns nothing)

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


setTotalSizeLimit

setTotalSizeLimit( Datum d ) → void

Parameters

d - a Datum

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]