public class TimelineAppMetricCacheKey extends Object
Constructor and Description |
---|
TimelineAppMetricCacheKey(Set<String> metricNames,
String appId,
String hostNames,
TemporalInfo temporalInfo) |
TimelineAppMetricCacheKey(Set<String> metricNames,
String appId,
TemporalInfo temporalInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAppId() |
String |
getHostNames() |
Set<String> |
getMetricNames() |
String |
getSpec()
Actual http request Uri, this does not contribute to the key behavior,
it is used solely for interoperability between @AMSPropertyProvider.MetricsRequest
and the Cache.
|
TemporalInfo |
getTemporalInfo()
Temporal info is used to calculate the next query window,
it does not contribute to the key behavior.
|
int |
hashCode() |
void |
setSpec(String spec)
Set spec string.
|
void |
setTemporalInfo(TemporalInfo temporalInfo)
Set temporalInfo to new query window each time.
|
String |
toString() |
public TimelineAppMetricCacheKey(Set<String> metricNames, String appId, String hostNames, TemporalInfo temporalInfo)
public TimelineAppMetricCacheKey(Set<String> metricNames, String appId, TemporalInfo temporalInfo)
public TemporalInfo getTemporalInfo()
public void setTemporalInfo(TemporalInfo temporalInfo)
temporalInfo
- @TemporalInfopublic String getAppId()
public String getHostNames()
public String getSpec()
public void setSpec(String spec)
spec
- Request UriCopyright © 2022 Apache Software Foundation. All rights reserved.