Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.io.journal
Interface Journal.JournalConsumer

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

public static interface Journal.JournalConsumer
extends 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.

 

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® Coherence Java API Reference
Release 3.7.1.0

E22843-01


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