Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AriaLikeBatchExecutor ¶
type AriaLikeBatchExecutor struct {
// contains filtered or unexported fields
}
func NewAriaLikeBatchExecutor ¶
func NewAriaLikeBatchExecutor(txExecMgr *TransactionExecutorManager) *AriaLikeBatchExecutor
func (*AriaLikeBatchExecutor) Execute ¶
func (abe *AriaLikeBatchExecutor) Execute(batch transaction.Batch) *committer.BatchExecutionResult
type BatchExecutor ¶
type BatchExecutor interface { // Execute executes the a batch of transactions and generate the execution result(rwset) Execute(batch transaction.Batch) *committer.BatchExecutionResult }
type InProcTransactionExecutor ¶
type InProcTransactionExecutor struct {
// contains filtered or unexported fields
}
func (*InProcTransactionExecutor) Execute ¶
func (ipe *InProcTransactionExecutor) Execute(context *transaction.Context)
type TransactionExecutor ¶
type TransactionExecutor interface { // Execute executes a transaction and generate the execution result(rwset) Execute(context *transaction.Context) }
type TransactionExecutorManager ¶
type TransactionExecutorManager struct {
// contains filtered or unexported fields
}
func NewTransactionExecutorManager ¶
func NewTransactionExecutorManager(executors map[int]TransactionExecutor) *TransactionExecutorManager
func (*TransactionExecutorManager) Execute ¶
func (tem *TransactionExecutorManager) Execute(context *transaction.Context)
Click to show internal directories.
Click to hide internal directories.