public interface JournalFile
Modifier and Type | Method and Description |
---|---|
void |
addSize(int bytes) |
void |
clearCounts()
Used during compacting (clearing counters)
|
void |
decPosCount() |
void |
decSize(int bytes) |
SequentialFile |
getFile() |
long |
getFileID() |
int |
getJournalVersion() |
int |
getLiveSize() |
int |
getNegCount(JournalFile file) |
long |
getOffset() |
int |
getPosCount() |
int |
getRecordID()
This is a field to identify that records on this file actually belong to the current file.
|
int |
getTotalNegativeToOthers()
The total number of deletes this file has
|
void |
incNegCount(JournalFile file) |
void |
incPosCount() |
boolean |
isCanReclaim() |
boolean |
resetNegCount(JournalFile file) |
void |
setCanReclaim(boolean canDelete) |
void clearCounts()
int getNegCount(JournalFile file)
void incNegCount(JournalFile file)
boolean resetNegCount(JournalFile file)
int getPosCount()
void incPosCount()
void decPosCount()
void addSize(int bytes)
void decSize(int bytes)
int getLiveSize()
int getTotalNegativeToOthers()
void setCanReclaim(boolean canDelete)
boolean isCanReclaim()
long getOffset()
int getRecordID()
long getFileID()
int getJournalVersion()
SequentialFile getFile()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.