Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.io.journal
Class FlashJournalRM.FailCongestionPolicy

java.lang.Object
  extended by com.tangosol.io.journal.FlashJournalRM.CongestionPolicy
      extended by com.tangosol.io.journal.FlashJournalRM.FailCongestionPolicy

Enclosing class:
FlashJournalRM

protected static class FlashJournalRM.FailCongestionPolicy
extends FlashJournalRM.CongestionPolicy

A FlashJournalRM.CongestionPolicy that fails, by throwing an unchecked exception, when onCongestion is invoked.


Constructor Summary
protected FlashJournalRM.FailCongestionPolicy()
           

 

Method Summary
protected  void onCongestion(FlashJournalRM.JournalFile jrnlfile)
          Invoked when it is determined the provided jrnlfile has become congested.
protected  FlashJournalRM.FailCongestionPolicy setCause(java.lang.Exception e)
          Set the cause of exception which will be thrown to the client thread.

 

Constructor Detail

FlashJournalRM.FailCongestionPolicy

protected FlashJournalRM.FailCongestionPolicy()

Method Detail

onCongestion

protected void onCongestion(FlashJournalRM.JournalFile jrnlfile)
Invoked when it is determined the provided jrnlfile has become congested.
Specified by:
onCongestion in class FlashJournalRM.CongestionPolicy
Parameters:
jrnlfile - the congested FlashJournalRM.JournalFile

setCause

protected FlashJournalRM.FailCongestionPolicy setCause(java.lang.Exception e)
Set the cause of exception which will be thrown to the client thread.
Parameters:
e - the cause of the exception
Returns:
this FailCongestionPolicy instance

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.