|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.das2.dataset.CacheTag
public class 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.
Field Summary | |
---|---|
static java.lang.String |
INTRINSIC
|
Constructor Summary | |
---|---|
CacheTag(Datum start,
Datum end,
Datum resolution)
Constructs a new CacheTag. |
|
CacheTag(DatumRange range,
Datum resolution)
Constucts a new CacheTag. |
Method Summary | |
---|---|
static CacheTag |
append(CacheTag tag1,
CacheTag tag2)
Appends two CacheTags, when possible. |
boolean |
contains(CacheTag tag)
Indicates if the cache tag the the capability of satifying the given cache tag. |
DatumRange |
getRange()
the range covered by the cache tag. |
Datum |
getResolution()
the resolution of the cache tag, which may be null. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INTRINSIC
Constructor Detail |
---|
public CacheTag(Datum start, Datum end, Datum resolution)
start
- the beginning of the interval.end
- the end of the interval.resolution
- the highest resolution request that can be provided.public CacheTag(DatumRange range, Datum resolution)
range
- the interval covered by the CacheTag.resolution
- the highest resolution request that can be provided.Method Detail |
---|
public static CacheTag append(CacheTag tag1, CacheTag tag2)
tag1
- a CacheTagtag2
- a CacheTag that is adjacent to tag1
public java.lang.String toString()
toString
in class java.lang.Object
public boolean contains(CacheTag tag)
tag
- a CacheTag to test.
public DatumRange getRange()
public Datum getResolution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |