committer

package
v0.0.0-...-6a9e591 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AriaLikeBatchCommitter

type AriaLikeBatchCommitter struct {
	// contains filtered or unexported fields
}

func NewAriaLikeBatchCommitter

func NewAriaLikeBatchCommitter() *AriaLikeBatchCommitter

func (*AriaLikeBatchCommitter) Commit

func (ptc *AriaLikeBatchCommitter) Commit(batchExecutionResult *BatchExecutionResult) *storage.BatchCommittedResult

type BatchCommitter

type BatchCommitter interface {
	// Commit checks the transaction conflict and generate transaction commit status.
	Commit(batchExecutionResult *BatchExecutionResult) *storage.BatchCommittedResult
}

type BatchExecutionResult

type BatchExecutionResult struct {
	TransactionContexts []*transaction.Context
	BatchNum            int64
	BatchMetadata       []byte
	ReserveWritesTable  *sync.Map
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL