public class CacheIndexEntry extends Object
| Constructor and Description |
|---|
CacheIndexEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
MetricsTable |
getBucket() |
long |
getCollectionTimeSlice()
For raw data, this is its timestamp rounded down to the start of the hour.
|
long |
getDay()
This is
collectionTimeSlice rounded down to the start of its 24 hour time slice. |
long |
getInsertTimeSlice()
This is the timestamp of when raw data is inserted, rounded down to the start of the hour.
|
int |
getPartition()
Support for the partition field is currently not implemented.
|
Set<Integer> |
getScheduleIds()
The set of schedule ids for which there is data in the cache partition specified by this entry.
|
int |
getStartScheduleId()
This is used to map to a partition in the metrics cache table.
|
int |
hashCode() |
void |
setBucket(MetricsTable bucket) |
void |
setCollectionTimeSlice(long collectionTimeSlice) |
void |
setDay(long day) |
void |
setInsertTimeSlice(long insertTimeSlice) |
void |
setPartition(int partition) |
void |
setScheduleIds(Set<Integer> scheduleIds) |
void |
setStartScheduleId(int startScheduleId) |
String |
toString() |
public MetricsTable getBucket()
public void setBucket(MetricsTable bucket)
public long getDay()
collectionTimeSlice rounded down to the start of its 24 hour time slice.public void setDay(long day)
public long getInsertTimeSlice()
This is the timestamp of when raw data is inserted, rounded down to the start of the hour. For aggregate metrics it is not used and will be null.
This will differ from collectionTimeSlice for late data. That is, data which
is stored during an hour time slice that is later than the one in which it was collected.
public void setInsertTimeSlice(long insertTimeSlice)
public int getPartition()
public void setPartition(int partition)
public int getStartScheduleId()
scheduleIds.public void setStartScheduleId(int startScheduleId)
public long getCollectionTimeSlice()
public void setCollectionTimeSlice(long collectionTimeSlice)
public Set<Integer> getScheduleIds()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.