Class InMemoryPipelineService
java.lang.Object
org.graylog.plugins.pipelineprocessor.db.memory.InMemoryPipelineService
- All Implemented Interfaces:
PipelineService
A PipelineService that does not persist any data, but simply keeps it in memory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcount(org.mongojack.DBQuery.Query query) voidloadAll()loadByName(String name) save(PipelineDao pipeline)
-
Constructor Details
-
InMemoryPipelineService
-
-
Method Details
-
save
- Specified by:
savein interfacePipelineService
-
load
- Specified by:
loadin interfacePipelineService- Throws:
NotFoundException
-
loadByName
- Specified by:
loadByNamein interfacePipelineService- Throws:
NotFoundException
-
loadAll
- Specified by:
loadAllin interfacePipelineService
-
delete
- Specified by:
deletein interfacePipelineService
-
count
public long count(org.mongojack.DBQuery.Query query) - Specified by:
countin interfacePipelineService
-