use of org.apache.asterix.common.replication.IReplicationThread in project asterixdb by apache.
the class LogBuffer method notifyReplicationTermination.
public void notifyReplicationTermination() {
LogRecord logRecord = null;
try {
logRecord = (LogRecord) remoteJobsQ.take();
} catch (InterruptedException e) {
//ignore
}
logRecord.isFlushed(true);
IReplicationThread replicationThread = logRecord.getReplicationThread();
if (replicationThread != null) {
replicationThread.notifyLogReplicationRequester(logRecord);
}
}
Aggregations