latestscheduler

package
v0.0.0-...-bad8cef Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTxnScheduler

func NewTxnScheduler() scheduler.Scheduler

Types

type TxnScheduler

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

TxnScheduler implements the Sort-Based Greedy Algorithm in http://www.vldb.org/pvldb/vol12/p169-ding.pdf

func (*TxnScheduler) ProcessBlk

func (scheduler *TxnScheduler) ProcessBlk(blkHeight uint64) []string

func (*TxnScheduler) ProcessTxn

func (scheduler *TxnScheduler) ProcessTxn(readSets, writeSets []string, snapshot, nextCommittedHeight uint64,
	txnID string) bool

Jump to

Keyboard shortcuts

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