protected static class FlashJournalRM.FailCongestionPolicy extends FlashJournalRM.CongestionPolicy
FlashJournalRM.CongestionPolicy that fails, by throwing an unchecked exception, when onCongestion(com.tangosol.io.journal.FlashJournalRM.JournalFile) is invoked.| Modifier | Constructor and Description |
|---|---|
protected |
FailCongestionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the provided
jrnlfile has become congested. |
protected FlashJournalRM.FailCongestionPolicy |
setCause(Exception e)
Set the cause of exception which will be thrown to the client thread.
|
protected void onCongestion(FlashJournalRM.JournalFile jrnlfile)
jrnlfile has become congested.onCongestion in class FlashJournalRM.CongestionPolicyjrnlfile - the congested FlashJournalRM.JournalFileprotected FlashJournalRM.FailCongestionPolicy setCause(Exception e)
e - the cause of the exception