Class FlashJournalRM.FailCongestionPolicy
java.lang.Object
com.tangosol.io.journal.FlashJournalRM.CongestionPolicy
com.tangosol.io.journal.FlashJournalRM.FailCongestionPolicy
- Enclosing class:
FlashJournalRM
A
FlashJournalRM.CongestionPolicy that fails, by throwing an unchecked exception,
when onCongestion(com.tangosol.io.journal.FlashJournalRM.JournalFile)
is invoked.- Since:
- Coherence 3.7
- Author:
- cp/cf 2010-06-10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonCongestion(FlashJournalRM.JournalFile jrnlfile) Invoked when it is determined the providedjrnlfilehas become congested.protected FlashJournalRM.FailCongestionPolicySet the cause of exception which will be thrown to the client thread.
-
Constructor Details
-
FailCongestionPolicy
protected FailCongestionPolicy()
-
-
Method Details
-
onCongestion
Invoked when it is determined the providedjrnlfilehas become congested.- Specified by:
onCongestionin classFlashJournalRM.CongestionPolicy- Parameters:
jrnlfile- the congestedFlashJournalRM.JournalFile
-
setCause
Set the cause of exception which will be thrown to the client thread.- Parameters:
e- the cause of the exception- Returns:
- this FailCongestionPolicy instance
-