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