public class Pause extends java.lang.Object implements TransactionParticipant, Configurable
Constructor and Description |
---|
Pause() |
Modifier and Type | Method and Description |
---|---|
int |
prepare(long id,
java.io.Serializable context)
Called by TransactionManager in preparation for a transaction
|
void |
setConfiguration(Configuration cfg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, commit
public int prepare(long id, java.io.Serializable context)
TransactionParticipant
prepare
in interface TransactionParticipant
id
- the Transaction identifiercontext
- transaction contextpublic void setConfiguration(Configuration cfg)
setConfiguration
in interface Configurable
cfg
- Configuration object