public class StreamSearchResultCountWidget extends SearchResultCountWidget
DashboardWidget.NoSuchWidgetTypeException, DashboardWidget.TypelowerIsBetter, query, searches, timeRange, trendDEFAULT_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, getTimeRangebuildDashboardWidget, fromPersisted, fromRequest, getCacheTime, getComputationResult, getConfig, getCreatorUserId, getDescription, getId, getPersistedFields, getType, setCacheTime, setDescriptionpublic Map<String,Object> getPersistedConfig()
getPersistedConfig in class SearchResultCountWidgetprotected ComputationResult compute()
compute in class SearchResultCountWidgetCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.