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.
|
void |
setCanReclaim(boolean canDelete)
Whether this file's contents can deleted and the file reused.
|
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()
void setCanReclaim(boolean canDelete)
canDelete
- if true
then this file's contents are unimportant and may be deleted
at any time.boolean isCanReclaim()
true
if the file can already be deleted.int getRecordID()
long getFileID()
int getJournalVersion()
SequentialFile getFile()
Copyright © 2016 JBoss by Red Hat. All rights reserved.