public class LocalStreamService extends AbstractStreamService
| Constructor and Description |
|---|
LocalStreamService(StreamCoordinatorClient streamCoordinatorClient,
StreamFileJanitorService janitorService,
StreamMetaStore streamMetaStore,
StreamAdmin streamAdmin,
StreamWriterSizeCollector streamWriterSizeCollector,
NotificationService notificationService,
MetricStore metricStore) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doShutdown()
Children classes should implement this method to add logic to the shutdown of this
Service. |
protected void |
initialize()
Children classes should implement this method to add logic to the start of this
Service. |
protected void |
runOneIteration() |
executor, getStreamCoordinatorClient, getStreamEventsSize, scheduler, shutDown, startUpaddListener, isRunning, start, startAndWait, state, stop, stopAndWait, toString@Inject public LocalStreamService(StreamCoordinatorClient streamCoordinatorClient, StreamFileJanitorService janitorService, StreamMetaStore streamMetaStore, StreamAdmin streamAdmin, StreamWriterSizeCollector streamWriterSizeCollector, NotificationService notificationService, MetricStore metricStore)
protected void initialize()
throws Exception
AbstractStreamServiceService.initialize in class AbstractStreamServiceException - in case of any error while initializingprotected void doShutdown()
throws Exception
AbstractStreamServiceService.doShutdown in class AbstractStreamServiceException - in case of any error while shutting downCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.