use of io.pravega.client.segment.impl.SegmentSealedException in project pravega by pravega.
the class SegmentTransactionImpl method flush.
@Override
public void flush() throws TxnFailedException {
checkFailed();
try {
out.flush();
synchronized (lock) {
removeCompleted();
checkFailed();
}
} catch (SegmentSealedException e) {
throw new TxnFailedException(e);
}
}
Aggregations