@Override public void close() { super.close(); handoffNotifier.close(); }
public Object startJob() handoffNotifier.start();
handoffNotifier.registerSegmentHandoffCallback( new SegmentDescriptor( segmentIdentifier.getInterval(),
handoffNotifier.registerSegmentHandoffCallback( new SegmentDescriptor(sink.getInterval(), sink.getVersion(), config.getShardSpec().getPartitionNum()), mergeExecutor, new Runnable()
handoffNotifier.close(); shutdownExecutors();
@Override public Object startJob() { handoffNotifier.start(); Object retVal = appenderator.startJob(); initializeExecutors(); startPersistThread(); // Push pending sinks bootstrapped from previous run mergeAndPush(); return retVal; }
handoffNotifier.close(); shutdownExecutors(); appenderator.close();
@Override public Object startJob() { computeBaseDir(schema).mkdirs(); initializeExecutors(); handoffNotifier.start(); Object retVal = bootstrapSinksFromDisk(); startPersistThread(); // Push pending sinks bootstrapped from previous run mergeAndPush(); resetNextFlush(); return retVal; }