public class HALogManager extends Object
| Constructor and Description |
|---|
HALogManager(File halogdir) |
| Modifier and Type | Method and Description |
|---|---|
HALogFile |
createLog(IRootBlockView rbv) |
void |
disable()
Closes and removes the current writer
|
File |
getCurrentFile()
Utility to retrieve a File reference to the current open file
|
File |
getHALogDir() |
HALogFile |
getHALogFile(long commitCounter)
Returns the HALogFile for the commitCounter if it exists.
|
HALogFile |
getOpenLogFile() |
IHALogReader |
getReader(long commitCounter) |
static void |
main(String[] args)
Utility program will dump log files (or directories containing log files)
provided as arguments.
|
public HALogManager(File halogdir)
public HALogFile createLog(IRootBlockView rbv) throws IOException
IOExceptionpublic HALogFile getOpenLogFile()
public File getCurrentFile()
public File getHALogDir()
public IHALogReader getReader(long commitCounter) throws IOException
IOExceptionpublic HALogFile getHALogFile(long commitCounter) throws FileNotFoundException
commitCounter - FileNotFoundExceptionpublic void disable()
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException, InterruptedException
args - Zero or more files or directories.IOExceptionInterruptedExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.