public class XALogManager extends AbstractXALogManager implements ThreadTask
| Constructor and Description |
|---|
XALogManager()
Creates the log.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the log manager.
|
void |
flush()
Returns a stream for a new transaction.
|
XALogStream |
getStream()
Returns a stream for a new transaction.
|
boolean |
hasCommittedXid(XidImpl xid)
True if the xid is an already-committed xid
|
void |
init()
Initialize the log manager.
|
void |
run()
Updates the waiting flush.
|
void |
setMaxFileSize(Bytes size)
Sets the max file size.
|
void |
setPath(Path path)
Adds a log path.
|
void |
start()
Starts the log manager.
|
public void setMaxFileSize(Bytes size)
public void setPath(Path path) throws java.io.IOException
setPath in class AbstractXALogManagerjava.io.IOExceptionpublic void init()
init in class AbstractXALogManagerpublic void start()
throws java.io.IOException
start in class AbstractXALogManagerjava.io.IOExceptionpublic boolean hasCommittedXid(XidImpl xid)
hasCommittedXid in class AbstractXALogManagerpublic XALogStream getStream()
getStream in class AbstractXALogManagerpublic void flush()
flush in class AbstractXALogManagerpublic void run()
run in interface ThreadTaskrun in interface java.lang.Runnablepublic void close()
close in class AbstractXALogManager