|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.RandomAccessFile
fr.dyade.aaa.util.NGTransaction.LogFile
public static class NGTransaction.LogFile
Field Summary | |
---|---|
(package private) java.io.File |
dir
|
(package private) int |
logCounter
Number of valid operation in this log file |
(package private) int |
logidx
Unique index of this log file |
Constructor Summary | |
---|---|
NGTransaction.LogFile(java.io.File dir,
int logidx)
Creates a random access file stream to read from and to write to the file specified by the File argument. |
Method Summary | |
---|---|
void |
renameTo(int newidx)
|
Methods inherited from class java.io.RandomAccessFile |
---|
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int logidx
int logCounter
java.io.File dir
Constructor Detail |
---|
public NGTransaction.LogFile(java.io.File dir, int logidx) throws java.io.FileNotFoundException
file
- the specified file.
java.io.FileNotFoundException
Method Detail |
---|
public void renameTo(int newidx)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |