model

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Propagation

type Propagation byte

Propagation transaction isolation level

const (
	Required Propagation = iota

	RequiresNew

	NotSupported

	Supports

	Never

	Mandatory
)

func (Propagation) String

func (t Propagation) String() string

String

type Resource

type Resource interface {
	GetResourceID() string

	GetBranchType() apis.BranchSession_BranchType
}

Resource used to manage transaction resource

type TransactionInfo

type TransactionInfo struct {
	TimeOut     int32
	Name        string
	Propagation Propagation
}

TransactionInfo used to configure global transaction parameters

Jump to

Keyboard shortcuts

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