public class MongoDbPipelineStreamConnectionsService extends Object implements PipelineStreamConnectionsService
| Constructor and Description |
|---|
MongoDbPipelineStreamConnectionsService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapper,
ClusterEventBus clusterBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String streamId) |
PipelineConnections |
load(String streamId) |
Set<PipelineConnections> |
loadAll() |
Set<PipelineConnections> |
loadByPipelineId(String pipelineId) |
PipelineConnections |
save(PipelineConnections connections) |
@Inject public MongoDbPipelineStreamConnectionsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, ClusterEventBus clusterBus)
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 Set<PipelineConnections> loadByPipelineId(String pipelineId)
loadByPipelineId in interface PipelineStreamConnectionsServicepublic void delete(String streamId)
delete in interface PipelineStreamConnectionsServiceCopyright © 2012–2021 Graylog, Inc.. All rights reserved.