uk.org.simonsite.log4j.appender
Interface FileCompressionEventListener

All Superinterfaces:
EventListener

public interface FileCompressionEventListener
extends EventListener

Implementors are notified of backup file compression after the compression is complete. A typical use may be, for example, to compute a checksum for the compressed backup file.

Implementors must be declared public and have a default constructor.

It is not advisable to attempt to move or rename the compressed backup file unless you are fully aware of and accept the fact that doing so may, in the context of the normal operation of the TimeAndSizeRollingAppender , break behavioural contracts and cause log data loss.

FileCompressionEvents are processed on the LogFileCompressorTask thread.

Version:
1.0
Author:
Simon Park

Method Summary
 void onFileCompression(FileCompressionEvent fileCompressionEvent)
           
 

Method Detail

onFileCompression

void onFileCompression(FileCompressionEvent fileCompressionEvent)