org.codehaus.activemq.journal
Interface JournalEventListener

All Known Implementing Classes:
JournalPersistenceAdapter

public interface JournalEventListener

Defines an object which listens for Journal Events.

Version:
$Revision: 1.1 $

Method Summary
 void overflowNotification(RecordLocation safeLocation)
          This event is issues when a Journal implementations wants to recover disk space used by old records.
 

Method Detail

overflowNotification

public void overflowNotification(RecordLocation safeLocation)
This event is issues when a Journal implementations wants to recover disk space used by old records. If journal space is not reliquised by setting the Journal's mark at or past the safeLocation further write opperations against the Journal may casuse IOExceptions to occur due to a log overflow condition.

Parameters:
safeLocation - the oldest location that the journal recomends the mark to be set.


Copyright © 2004 Protique, Ltd.. All Rights Reserved.