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 AbstractXALogManager
java.io.IOException
public void init()
init
in class AbstractXALogManager
public void start() throws java.io.IOException
start
in class AbstractXALogManager
java.io.IOException
public boolean hasCommittedXid(XidImpl xid)
hasCommittedXid
in class AbstractXALogManager
public XALogStream getStream()
getStream
in class AbstractXALogManager
public void flush()
flush
in class AbstractXALogManager
public void run()
run
in interface ThreadTask
run
in interface java.lang.Runnable
public void close()
close
in class AbstractXALogManager