Package org.apache.activeio.journal
Interface JournalEventListener
public interface JournalEventListener
Defines an object which listens for Journal Events.
- Version:
- $Revision: 1.1 $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
overflowNotification
(RecordLocation safeLocation) This event is issues when a Journal implementations wants to recover disk space used by old records.
-
Method Details
-
overflowNotification
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 thesafeLocation
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.
-