protected abstract static class FlashJournalRM.CongestionPolicy extends Object
FlashJournalRM.JournalFile
becomes congested.
The #onCongestion(JournalFile)
method should only return control
once the congestion has been alleviated or if it can not be rectified
an unchecked exception should be thrown.
Modifier | Constructor and Description |
---|---|
protected |
CongestionPolicy() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the provided
jrnlfile has
become congested. |
protected abstract void onCongestion(FlashJournalRM.JournalFile jrnlfile)
jrnlfile
has
become congested.jrnlfile
- the congested FlashJournalRM.JournalFile