|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WriterListener
A listener used to receive notifications from a write process.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.levigo.util.log.qualified.QualifiedLogListener |
---|
error, fatal, warn |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |