com.levigo.jadice.document.write
Interface WriterListener

All Superinterfaces:
QualifiedLogListener

public interface WriterListener
extends QualifiedLogListener

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

writeStarted

void writeStarted(FormatWriter writer)
Receive notification about a write-process that has been started.

Parameters:
writer - the writer which generated the event.

pageWriteStarted

void pageWriteStarted(FormatWriter writer,
                      int pageIndex)
Receive notification about a write-process for a page that has been started.

Parameters:
writer - the writer which generated the event.
pageIndex - the zero-based page index

pageWriteDone

void pageWriteDone(FormatWriter writer,
                   int pageIndex)
Receive notification about a write-process for a page that has been finished.

Parameters:
writer - the writer which generated the event.
pageIndex - the zero-based page index

writeDone

void writeDone(FormatWriter writer)
Receive notification about a write-process that has been completed.

Parameters:
writer - the writer which generated the event.

writeCanceled

void writeCanceled(FormatWriter writer)
Receive notification about a write-process that has been canceled.

Parameters:
writer - the writer which generated the event.

writeFailed

void writeFailed(FormatWriter writer,
                 Throwable t)
Receive notification about a failed write-process.

Parameters:
writer - the writer which generated the event.
t - the Throwable that caused the write to fail.


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.