Package com.tangosol.io.journal
Class FlashJournalRM.FailCongestionPolicy
- java.lang.Object
 - 
- com.tangosol.io.journal.FlashJournalRM.CongestionPolicy
 - 
- com.tangosol.io.journal.FlashJournalRM.FailCongestionPolicy
 
 
 
- 
- Enclosing class:
 - FlashJournalRM
 
protected static class FlashJournalRM.FailCongestionPolicy extends FlashJournalRM.CongestionPolicy
AFlashJournalRM.CongestionPolicythat fails, by throwing an unchecked exception, whenonCongestion(com.tangosol.io.journal.FlashJournalRM.JournalFile)is invoked. 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedFailCongestionPolicy() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonCongestion(FlashJournalRM.JournalFile jrnlfile)Invoked when it is determined the providedjrnlfilehas become congested.protected FlashJournalRM.FailCongestionPolicysetCause(Exception e)Set the cause of exception which will be thrown to the client thread. 
 - 
 
- 
- 
Method Detail
- 
onCongestion
protected void onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the providedjrnlfilehas become congested.- Specified by:
 onCongestionin classFlashJournalRM.CongestionPolicy- Parameters:
 jrnlfile- the congestedFlashJournalRM.JournalFile
 
- 
setCause
protected FlashJournalRM.FailCongestionPolicy setCause(Exception e)
Set the cause of exception which will be thrown to the client thread.- Parameters:
 e- the cause of the exception- Returns:
 - this FailCongestionPolicy instance
 
 
 - 
 
 -