public static interface Journal.JournalConsumer extends Disposable
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getDescription()
Format a String description of the Consumer.
|
close, disposevoid evacuate(long lTicketMask,
long lTicketValue)
lTicketMask - indicates which bits of the tickets to checklTicketValue - indicates what bit pattern needs to be matched
on the tickets in order to select them for
evacuationvoid dedupe(byte[][] aab)
aab - an array of byte[] objects for intern-ing byte[]
referencesString getDescription()