public interface TransactionHandler
Modifier and Type | Method and Description |
---|---|
void |
abort()
If transactions are supported and there is a tranaction in progress, abort
it.
|
void |
begin()
If transactions are supported, begin a new transaction.
|
void |
commit()
If transactions are supported and there is a tranaction in progress, commit
it.
|
Object |
executeInTransaction(Command c)
If transactions are supported, execute the command c within a transaction
and return its result.
|
boolean |
transactionsSupported()
Does this handler support transactions at all?
|
boolean transactionsSupported()
void begin()
void abort()
void commit()
Licenced under the Apache License, Version 2.0