public interface StreamRuleService extends PersistedService
| Modifier and Type | Method and Description |
|---|---|
StreamRule |
create(Map<String,Object> data) |
StreamRule |
create(String streamId,
CreateStreamRuleRequest request) |
StreamRule |
load(String id) |
List<StreamRule> |
loadForStream(Stream stream) |
List<StreamRule> |
loadForStreamId(String streamId) |
Map<String,List<StreamRule>> |
loadForStreamIds(Collection<String> streamIds) |
long |
streamRuleCount(String streamId) |
Map<String,Long> |
streamRuleCountByStream() |
long |
totalStreamRuleCount() |
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateStreamRule load(String id) throws NotFoundException
NotFoundExceptionList<StreamRule> loadForStream(Stream stream) throws NotFoundException
NotFoundExceptionStreamRule create(Map<String,Object> data)
StreamRule create(String streamId, CreateStreamRuleRequest request)
List<StreamRule> loadForStreamId(String streamId) throws NotFoundException
NotFoundExceptionMap<String,List<StreamRule>> loadForStreamIds(Collection<String> streamIds)
long totalStreamRuleCount()
long streamRuleCount(String streamId)
streamId - the stream IDCopyright © 2012–2017 Graylog, Inc.. All rights reserved.