Package com.tangosol.io.journal
Class FlashJournalRM.WaitCongestionPolicy
- java.lang.Object
-
- com.tangosol.io.journal.FlashJournalRM.CongestionPolicy
-
- com.tangosol.io.journal.FlashJournalRM.WaitCongestionPolicy
-
- Enclosing class:
- FlashJournalRM
protected static class FlashJournalRM.WaitCongestionPolicy extends FlashJournalRM.CongestionPolicy
AFlashJournalRM.CongestionPolicy
which blocks the current thread on theFlashJournalRM.JournalFile
's monitor until awoken. It is expected that theFlashJournalRM.WriterDaemon
will awake this parked thread.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WaitCongestionPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the providedjrnlfile
has become congested.
-
-
-
Method Detail
-
onCongestion
protected void onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the providedjrnlfile
has become congested.- Specified by:
onCongestion
in classFlashJournalRM.CongestionPolicy
- Parameters:
jrnlfile
- the congestedFlashJournalRM.JournalFile
-
-