public class StreamSearchResultCountWidget extends SearchResultCountWidget
DashboardWidget.NoSuchWidgetTypeException, DashboardWidget.Type
lowerIsBetter, query, searches, timeRange, trend
DEFAULT_CACHE_TIME
Constructor and Description |
---|
StreamSearchResultCountWidget(com.codahale.metrics.MetricRegistry metricRegistry,
Searches searches,
String id,
String description,
int cacheTime,
Map<String,Object> config,
String query,
TimeRange timeRange,
String creatorUserId) |
Modifier and Type | Method and Description |
---|---|
protected ComputationResult |
compute() |
Map<String,Object> |
getPersistedConfig() |
computeInternal, getSearches, getTimeRange
buildDashboardWidget, fromPersisted, fromRequest, getCacheTime, getComputationResult, getConfig, getCreatorUserId, getDescription, getId, getPersistedFields, getType, setCacheTime, setDescription
public Map<String,Object> getPersistedConfig()
getPersistedConfig
in class SearchResultCountWidget
protected ComputationResult compute()
compute
in class SearchResultCountWidget
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.