protected static class FlashJournalRM.WaitCongestionPolicy extends FlashJournalRM.CongestionPolicy
FlashJournalRM.CongestionPolicy
which blocks the current thread on the FlashJournalRM.JournalFile
's monitor until awoken. It is expected that the FlashJournalRM.WriterDaemon
will awake this parked thread.Modifier | Constructor and Description |
---|---|
protected |
WaitCongestionPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the provided
jrnlfile has become congested. |
protected void onCongestion(FlashJournalRM.JournalFile jrnlfile)
jrnlfile
has become congested.onCongestion
in class FlashJournalRM.CongestionPolicy
jrnlfile
- the congested FlashJournalRM.JournalFile