Package org.apache.storm.metricstore
Class FilterOptions
java.lang.Object
org.apache.storm.metricstore.FilterOptions
FilterOptions provides a method to select various filtering options for doing a scan of the metrics database.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAggLevel(AggLevel level) Add an aggregation level to search for.Get the aggregation levels to search for.longReturns the end time if set, returns the current time otherwise.getPort()longvoidsetAggLevels(Set<AggLevel> levels) Set the aggregation levels to search for.voidsetComponentId(String component) voidsetEndTime(Long time) voidsetExecutorId(String id) voidvoidsetMetricName(String name) voidvoidsetStartTime(Long time) voidsetStreamId(String id) voidsetTopologyId(String topoId) 
- 
Constructor Details- 
FilterOptionspublic FilterOptions()
 
- 
- 
Method Details- 
getTopologyId
- 
setTopologyId
- 
getComponentId
- 
setComponentId
- 
getStartTimepublic long getStartTime()
- 
setStartTime
- 
getEndTimepublic long getEndTime()Returns the end time if set, returns the current time otherwise.
- 
setEndTime
- 
getMetricName
- 
setMetricName
- 
getExecutorId
- 
setExecutorId
- 
getHostId
- 
setHostId
- 
getPort
- 
setPort
- 
getStreamId
- 
setStreamId
- 
addAggLevelAdd an aggregation level to search for.
- 
getAggLevelsGet the aggregation levels to search for.
- 
setAggLevelsSet the aggregation levels to search for.- Throws:
- MetricException
 
 
-