T - transaction context typepublic interface ShardingTransactionManager<T extends ShardingTransactionContext>
void begin(T transactionContext) throws ShardingException
transactionContext - transaction contextShardingException - sharding exceptionvoid commit(T transactionContext) throws ShardingException
transactionContext - transaction contextShardingException - sharding exceptionvoid rollback(T transactionContext) throws ShardingException
transactionContext - transaction contextShardingException - sharding exceptionint getStatus()
throws ShardingException
Status.NoTransaction if no transaction is associated with current thread.ShardingException - sharding exceptionCopyright © 2019. All rights reserved.