public final class ControlFile extends Object
| Constructor and Description |
|---|
ControlFile(File file,
int recordSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
isDisposed() |
ByteSequence |
load() |
void |
lock()
Locks the control file.
|
void |
store(ByteSequence data,
boolean sync) |
void |
unlock()
Un locks the control file.
|
public ControlFile(File file, int recordSize) throws IOException
IOExceptionpublic void lock() throws IOException
IOExceptionpublic void unlock() throws IOException
IOExceptionpublic void dispose()
public ByteSequence load() throws IOException
IOExceptionpublic void store(ByteSequence data, boolean sync) throws IOException
IOExceptionpublic boolean isDisposed()
Copyright © 2005–2017. All rights reserved.