public class TransactionLog extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransactionLog.LogEntry |
Constructor and Description |
---|
TransactionLog() |
Modifier and Type | Method and Description |
---|---|
boolean |
activate() |
void |
deactivate() |
boolean |
hasPendingPrepare(PrepareCommand command) |
boolean |
isActive() |
void |
logCommit(GlobalTransaction gtx) |
void |
logNoTxWrite(WriteCommand write) |
void |
logOnePhaseCommit(GlobalTransaction gtx,
List<WriteCommand> modifications) |
void |
logPrepare(PrepareCommand command) |
void |
rollback(GlobalTransaction gtx) |
int |
size() |
void |
writeCommitLog(Marshaller marshaller,
ObjectOutputStream out) |
void |
writePendingPrepares(Marshaller marshaller,
ObjectOutputStream out) |
public void logPrepare(PrepareCommand command)
public void logCommit(GlobalTransaction gtx)
public void logOnePhaseCommit(GlobalTransaction gtx, List<WriteCommand> modifications)
public void logNoTxWrite(WriteCommand write)
public void rollback(GlobalTransaction gtx)
public final boolean isActive()
public boolean activate()
public void deactivate()
public int size()
public void writeCommitLog(Marshaller marshaller, ObjectOutputStream out) throws Exception
Exception
public void writePendingPrepares(Marshaller marshaller, ObjectOutputStream out) throws Exception
Exception
public final boolean hasPendingPrepare(PrepareCommand command)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.