SelfType
- must match the interface that is extending this one.public interface Transactional<SelfType extends Transactional<SelfType>>
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
checkpoint(String name) |
void |
commit() |
<ReturnType> |
inTransaction(Transaction<ReturnType,SelfType> func) |
<ReturnType> |
inTransaction(TransactionIsolationLevel isolation,
Transaction<ReturnType,SelfType> func) |
void |
release(String name) |
void |
rollback() |
void |
rollback(String name) |
void begin()
void checkpoint(String name)
void commit()
<ReturnType> ReturnType inTransaction(Transaction<ReturnType,SelfType> func)
<ReturnType> ReturnType inTransaction(TransactionIsolationLevel isolation, Transaction<ReturnType,SelfType> func)
void release(String name)
void rollback()
void rollback(String name)
Copyright © 2018. All rights reserved.