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
IOException
public HALogFile getOpenLogFile()
public File getCurrentFile()
public File getHALogDir()
public IHALogReader getReader(long commitCounter) throws IOException
IOException
public HALogFile getHALogFile(long commitCounter) throws FileNotFoundException
commitCounter
- FileNotFoundException
public void disable() throws IOException
IOException
public static void main(String[] args) throws IOException, InterruptedException
args
- Zero or more files or directories.IOException
InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.