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
IOException
public void lock() throws IOException
IOException
public void unlock() throws IOException
IOException
public void dispose()
public ByteSequence load() throws IOException
IOException
public void store(ByteSequence data, boolean sync) throws IOException
IOException
public boolean isDisposed()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.