Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryNode ¶
type HistoryNode struct { CommittedTxn *Txn Next []*HistoryNode Previous []*HistoryNode }
func NewHistoryNode ¶
func NewHistoryNode(parent *HistoryNode, txn *Txn) *HistoryNode
func (*HistoryNode) AddEdgeTo ¶
func (hn *HistoryNode) AddEdgeTo(nodes ...*HistoryNode)
func (*HistoryNode) Equal ¶
func (hnA *HistoryNode) Equal(hnB *HistoryNode) bool
func (*HistoryNode) Len ¶
func (hn *HistoryNode) Len() int
func (*HistoryNode) RemoveEdgeTo ¶
func (hn *HistoryNode) RemoveEdgeTo(node *HistoryNode)
func (*HistoryNode) String ¶
func (hn *HistoryNode) String() string
type Txn ¶
type Txn struct { ID int Actions VarActions VarToActions map[Var]VarActions }
type TxnContainer ¶
type TxnContainer interface {
GetTxn() *Txn
}
type VarActions ¶
type VarActions []*VarAction
func (VarActions) Len ¶
func (vas VarActions) Len() int
func (VarActions) Less ¶
func (vas VarActions) Less(i, j int) bool
func (VarActions) Swap ¶
func (vas VarActions) Swap(i, j int)
type VarVersionValue ¶
func (*VarVersionValue) Clone ¶
func (vvv *VarVersionValue) Clone() *VarVersionValue
func (*VarVersionValue) Equal ¶
func (a *VarVersionValue) Equal(b *VarVersionValue) bool
func (*VarVersionValue) String ¶
func (vvv *VarVersionValue) String() string
type VarVersionValues ¶
type VarVersionValues []*VarVersionValue
func (VarVersionValues) Len ¶
func (vvvs VarVersionValues) Len() int
func (VarVersionValues) Less ¶
func (vvvs VarVersionValues) Less(i, j int) bool
func (VarVersionValues) Sort ¶
func (vvvs VarVersionValues) Sort()
func (VarVersionValues) Swap ¶
func (vvvs VarVersionValues) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.