state

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracker

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

func NewTracker

func NewTracker() *Tracker

func (*Tracker) NotifyOfChange

func (t *Tracker) NotifyOfChange()

func (*Tracker) Poison

func (t *Tracker) Poison()

func (*Tracker) WaitForChange

func (t *Tracker) WaitForChange(previousIndex uint64) (uint64, bool)

type TrackingLock

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

func NewTrackingLock

func NewTrackingLock(tracker *Tracker) *TrackingLock

func (*TrackingLock) Lock

func (l *TrackingLock) Lock()

func (*TrackingLock) Unlock

func (l *TrackingLock) Unlock()

func (*TrackingLock) UnlockWithoutNotify

func (l *TrackingLock) UnlockWithoutNotify()

Jump to

Keyboard shortcuts

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