public class FlushingPlumber extends RealtimePlumber
Constructor and Description |
---|
FlushingPlumber(org.joda.time.Duration flushDuration,
DataSchema schema,
RealtimeTuningConfig config,
FireDepartmentMetrics metrics,
com.metamx.emitter.service.ServiceEmitter emitter,
QueryRunnerFactoryConglomerate conglomerate,
DataSegmentAnnouncer segmentAnnouncer,
ExecutorService queryExecutorService) |
Modifier and Type | Method and Description |
---|---|
void |
finishJob()
Perform any final processing and clean up after ourselves.
|
protected void |
flushAfterDuration(long truncatedTime,
Sink sink) |
void |
startJob()
Perform any initial setup.
|
abandonSegment, add, bootstrapSinksFromDisk, computeBaseDir, computePersistDir, getConfig, getQueryRunner, getRejectionPolicy, getSchema, getSink, getSinks, initializeExecutors, persist, persistHydrant, shutdownExecutors, startPersistThread
public FlushingPlumber(org.joda.time.Duration flushDuration, DataSchema schema, RealtimeTuningConfig config, FireDepartmentMetrics metrics, com.metamx.emitter.service.ServiceEmitter emitter, QueryRunnerFactoryConglomerate conglomerate, DataSegmentAnnouncer segmentAnnouncer, ExecutorService queryExecutorService)
public void startJob()
Plumber
Plumber.finishJob()
.startJob
in interface Plumber
startJob
in class RealtimePlumber
protected void flushAfterDuration(long truncatedTime, Sink sink)
public void finishJob()
Plumber
finishJob
in interface Plumber
finishJob
in class RealtimePlumber
Copyright © 2011–2015. All rights reserved.