org.das2.datum.CacheTag
CacheTags are used to represent the coverage of datasets stored in a cache, and are
the reference used to decide if a cache entry is capable of satisfying a data request.
CacheTag( Datum start, Datum end, Datum resolution )
Constructs a new CacheTag.
CacheTag( DatumRange range, Datum resolution )
Constructs a new CacheTag.
INTRINSIC
append
append( org.das2.datum.CacheTag tag1, org.das2.datum.CacheTag tag2 ) → org.das2.datum.CacheTag
Appends two CacheTags, when possible. The new range covers the ranges, and the resolution is the lower of the two.
Parameters
tag1 - a CacheTag
tag2 - a CacheTag that is adjacent to tag1
Returns:
a CacheTag that covers both CacheTags precisely.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
contains
contains( org.das2.datum.CacheTag tag ) → boolean
Indicates if the cache tag the the capability of satifying the given cache tag. If the tag has a lower (courser) resolution and its bounds are within
this CacheTag.
Parameters
tag - a CacheTag to test.
Returns:
true if the tag has a lower resolution and its bounds are within
this CacheTag.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getRange
getRange( ) → DatumRange
the range covered by the cache tag.
Returns:
org.das2.datum.DatumRange
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getResolution
getResolution( ) → Datum
the resolution of the cache tag, which may be null.
Returns:
org.das2.datum.Datum
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
toString
toString( ) → String
Returns a string representation of the object.
Returns:
a human consumable representation of the cache tag. This should fit on
one line as it is used to list cache contents.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]