public interface WriterListener extends QualifiedLogListener
Modifier and Type | Method and Description |
---|---|
void |
pageWriteDone(FormatWriter writer,
int pageIndex)
Receive notification about a write-process for a page that has been finished.
|
void |
pageWriteStarted(FormatWriter writer,
int pageIndex)
Receive notification about a write-process for a page that has been started.
|
void |
writeCanceled(FormatWriter writer)
Receive notification about a write-process that has been canceled.
|
void |
writeDone(FormatWriter writer)
Receive notification about a write-process that has been completed.
|
void |
writeFailed(FormatWriter writer,
Throwable t)
Receive notification about a failed write-process.
|
void |
writeStarted(FormatWriter writer)
Receive notification about a write-process that has been started.
|
error, fatal, warn
void writeStarted(FormatWriter writer)
writer
- the writer which generated the event.void pageWriteStarted(FormatWriter writer, int pageIndex)
writer
- the writer which generated the event.pageIndex
- the zero-based page indexvoid pageWriteDone(FormatWriter writer, int pageIndex)
writer
- the writer which generated the event.pageIndex
- the zero-based page indexvoid writeDone(FormatWriter writer)
writer
- the writer which generated the event.void writeCanceled(FormatWriter writer)
writer
- the writer which generated the event.void writeFailed(FormatWriter writer, Throwable t)
writer
- the writer which generated the event.t
- the Throwable
that caused the write to fail.Copyright © 2024 levigo holding gmbh. All rights reserved.