Versions in this module Expand all Collapse all v2 v2.0.7 Sep 17, 2021 v2.0.6 Sep 16, 2021 Changes in this version + const LockSplit + func CollectBranchSessionRowLocks(branchSession *apis.BranchSession) []*apis.RowLock + func CollectRowLocks(lockKey string, resourceID string, xid string) []*apis.RowLock + type Driver interface + type LockManager interface + AcquireLock func(rowLocks []*apis.RowLock) bool + IsLockable func(xid string, resourceID string, lockKey string) bool + ReleaseLock func(rowLocks []*apis.RowLock) bool + type SessionManager interface + AddBranchSession func(globalSession *apis.GlobalSession, session *apis.BranchSession) error + AddGlobalSession func(session *apis.GlobalSession) error + AllSessions func() []*apis.GlobalSession + FindBatchBranchSessions func(xids []string) []*apis.BranchSession + FindBranchSessions func(xid string) []*apis.BranchSession + FindGlobalSession func(xid string) *apis.GlobalSession + FindGlobalSessions func(statuses []apis.GlobalSession_GlobalStatus) []*apis.GlobalSession + FindGlobalSessionsWithAddressingIdentities func(statuses []apis.GlobalSession_GlobalStatus, addressingIdentities []string) []*apis.GlobalSession + InactiveGlobalSession func(session *apis.GlobalSession) error + RemoveBranchSession func(globalSession *apis.GlobalSession, session *apis.BranchSession) error + RemoveGlobalSession func(session *apis.GlobalSession) error + UpdateBranchSessionStatus func(session *apis.BranchSession, status apis.BranchSession_BranchStatus) error + UpdateGlobalSessionStatus func(session *apis.GlobalSession, status apis.GlobalSession_GlobalStatus) error