public class MongoDbPipelineStreamConnectionsService extends Object implements PipelineStreamConnectionsService
| Constructor and Description |
|---|
MongoDbPipelineStreamConnectionsService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String streamId) |
PipelineConnections |
load(String streamId) |
Set<PipelineConnections> |
loadAll() |
PipelineConnections |
save(PipelineConnections connections) |
@Inject public MongoDbPipelineStreamConnectionsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper)
public PipelineConnections save(PipelineConnections connections)
save in interface PipelineStreamConnectionsServicepublic PipelineConnections load(String streamId) throws NotFoundException
load in interface PipelineStreamConnectionsServiceNotFoundExceptionpublic Set<PipelineConnections> loadAll()
loadAll in interface PipelineStreamConnectionsServicepublic void delete(String streamId)
delete in interface PipelineStreamConnectionsServiceCopyright © 2012–2018 Graylog, Inc.. All rights reserved.