public class CacheTag
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INTRINSIC |
| Constructor and Description |
|---|
CacheTag(Datum start,
Datum end,
Datum resolution)
Constructs a new CacheTag.
|
CacheTag(DatumRange range,
Datum resolution)
Constructs a new CacheTag.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final java.lang.String INTRINSIC
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.public static CacheTag append(CacheTag tag1, CacheTag tag2)
tag1 - a CacheTagtag2 - a CacheTag that is adjacent to tag1public java.lang.String toString()
toString in class java.lang.Objectpublic boolean contains(CacheTag tag)
tag - a CacheTag to test.public DatumRange getRange()
public Datum getResolution()