public interface JournalFile
Modifier and Type | Method and Description |
---|---|
void |
addSize(int bytes) |
void |
decPosCount() |
void |
decSize(int bytes) |
SequentialFile |
getFile() |
long |
getFileID() |
int |
getJournalVersion() |
int |
getLiveSize() |
int |
getNegCount(JournalFile file) |
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()
Whether this file's contents can deleted and the file reused.
|
boolean |
isNegReclaimCriteria()
Whether this file deletes are on files that are either marked for reclaim or have already been reclaimed
|
boolean |
isPosReclaimCriteria()
Whether this file additions all have a delete in some other file
|
void |
setNegReclaimCriteria() |
void |
setPosReclaimCriteria() |
int getNegCount(JournalFile file)
void incNegCount(JournalFile file)
int getPosCount()
void incPosCount()
void decPosCount()
void addSize(int bytes)
void decSize(int bytes)
int getLiveSize()
int getTotalNegativeToOthers()
boolean isPosReclaimCriteria()
void setPosReclaimCriteria()
boolean isNegReclaimCriteria()
void setNegReclaimCriteria()
boolean isCanReclaim()
true
if the file can already be deleted.int getRecordID()
long getFileID()
int getJournalVersion()
SequentialFile getFile()
Copyright © 2017 JBoss by Red Hat. All rights reserved.