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, validate
StreamRule load(String id) throws NotFoundException
NotFoundException
List<StreamRule> loadForStream(Stream stream) throws NotFoundException
NotFoundException
StreamRule create(Map<String,Object> data)
StreamRule create(String streamId, CreateStreamRuleRequest request)
List<StreamRule> loadForStreamId(String streamId) throws NotFoundException
NotFoundException
Map<String,List<StreamRule>> loadForStreamIds(Collection<String> streamIds)
long totalStreamRuleCount()
long streamRuleCount(String streamId)
streamId
- the stream IDCopyright © 2012–2018 Graylog, Inc.. All rights reserved.