Class StreamCacheService
java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
org.graylog.plugins.pipelineprocessor.functions.messages.StreamCacheService
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
@Singleton
public class StreamCacheService
extends com.google.common.util.concurrent.AbstractIdleService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Constructor Summary
ConstructorsConstructorDescriptionStreamCacheService
(com.google.common.eventbus.EventBus eventBus, StreamService streamService, ScheduledExecutorService executorService) -
Method Summary
Methods inherited from class com.google.common.util.concurrent.AbstractIdleService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString
-
Constructor Details
-
StreamCacheService
@Inject public StreamCacheService(com.google.common.eventbus.EventBus eventBus, StreamService streamService, @Named("daemonScheduler") ScheduledExecutorService executorService)
-
-
Method Details
-
startUp
protected void startUp()- Specified by:
startUp
in classcom.google.common.util.concurrent.AbstractIdleService
-
shutDown
protected void shutDown()- Specified by:
shutDown
in classcom.google.common.util.concurrent.AbstractIdleService
-
handleStreamUpdate
-
getByName
-
getById
-
updateStreams
public void updateStreams()
-