Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.io.journal
Interface Journal.JournalConsumer

All Superinterfaces:
com.oracle.common.base.Disposable
All Known Implementing Classes:
BackupJournalRM.FlashConsumer, BackupJournalRM.RamConsumer, JournalBinaryStore, RamJournalRM.FlashConsumer
Enclosing interface:
Journal

public static interface Journal.JournalConsumer
extends com.oracle.common.base.Disposable

An interface that represents the actions that a Journal may request of an object that uses the Journal.


Method Summary
 void dedupe(byte[][] aab)
          This method may be invoked by the Journal implementation to request that any immutable byte arrays managed by the consumer be de-duplicated.
 void evacuate(long lTicketMask, long lTicketValue)
          This method may be invoked by the Journal implementation to request that the consumer evacuate a particular journal file.
 java.lang.String getDescription()
          Format a String description of the Consumer.

 

Methods inherited from interface com.oracle.common.base.Disposable
dispose

 

Method Detail

evacuate

void evacuate(long lTicketMask,
              long lTicketValue)
This method may be invoked by the Journal implementation to request that the consumer evacuate a particular journal file.
Parameters:
lTicketMask - indicates which bits of the tickets to check
lTicketValue - indicates what bit pattern needs to be matched on the tickets in order to select them for evacuation

dedupe

void dedupe(byte[][] aab)
This method may be invoked by the Journal implementation to request that any immutable byte arrays managed by the consumer be de-duplicated.
Parameters:
aab - an array of byte[] objects for intern-ing byte[] references

getDescription

java.lang.String getDescription()
Format a String description of the Consumer.
Returns:
a comma-delimited key-value description of this object

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


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