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 + type SessionHolder struct + func NewSessionHolder(manager storage.SessionManager) *SessionHolder + func (holder *SessionHolder) AddBranchSession(globalSession *apis.GlobalSession, session *apis.BranchSession) error + func (holder *SessionHolder) AddGlobalSession(session *apis.GlobalSession) error + func (holder *SessionHolder) AllSessions() []*apis.GlobalSession + func (holder *SessionHolder) FindAsyncCommittingGlobalTransactions(addressingIdentities []string) []*model.GlobalTransaction + func (holder *SessionHolder) FindBranchSession(xid string) []*apis.BranchSession + func (holder *SessionHolder) FindGlobalSession(xid string) *apis.GlobalSession + func (holder *SessionHolder) FindGlobalSessions(statuses []apis.GlobalSession_GlobalStatus) []*apis.GlobalSession + func (holder *SessionHolder) FindGlobalTransaction(xid string) *model.GlobalTransaction + func (holder *SessionHolder) FindRetryCommittingGlobalTransactions(addressingIdentities []string) []*model.GlobalTransaction + func (holder *SessionHolder) FindRetryRollbackGlobalTransactions(addressingIdentities []string) []*model.GlobalTransaction + func (holder *SessionHolder) InactiveGlobalSession(session *apis.GlobalSession) error + func (holder *SessionHolder) RemoveBranchSession(globalSession *apis.GlobalSession, session *apis.BranchSession) error + func (holder *SessionHolder) RemoveGlobalSession(session *apis.GlobalSession) error + func (holder *SessionHolder) RemoveGlobalTransaction(globalTransaction *model.GlobalTransaction) error + func (holder *SessionHolder) UpdateBranchSessionStatus(session *apis.BranchSession, status apis.BranchSession_BranchStatus) error + func (holder *SessionHolder) UpdateGlobalSessionStatus(session *apis.GlobalSession, status apis.GlobalSession_GlobalStatus) error