public class ClusterConfigServiceImpl extends Object implements ClusterConfigService
| Constructor and Description |
|---|
ClusterConfigServiceImpl(MongoJackObjectMapperProvider mapperProvider,
MongoConnection mongoConnection,
NodeId nodeId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.google.common.eventbus.EventBus clusterEventBus) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> type) |
<T> T |
getOrDefault(Class<T> type,
T defaultValue) |
<T> void |
write(T payload) |
@Inject public ClusterConfigServiceImpl(MongoJackObjectMapperProvider mapperProvider, MongoConnection mongoConnection, NodeId nodeId, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.google.common.eventbus.EventBus clusterEventBus)
public <T> T get(Class<T> type)
get in interface ClusterConfigServicepublic <T> T getOrDefault(Class<T> type, T defaultValue)
getOrDefault in interface ClusterConfigServicepublic <T> void write(T payload)
write in interface ClusterConfigServiceCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.