resumer

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resumer

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

Resumer is responsible for a periodical resuming of pending transactions.

func NewResumer

func NewResumer(tr TransactionResumer) *Resumer

NewResumer periodically resumes pending transactions.

func (*Resumer) Kill

func (rr *Resumer) Kill()

func (*Resumer) Stop

func (rr *Resumer) Stop() error

func (*Resumer) String

func (rr *Resumer) String() string

func (*Resumer) Wait

func (rr *Resumer) Wait() error

type TransactionResumer

type TransactionResumer interface {
	// ResumeTransactions resumes all pending transactions.
	ResumeTransactions() error
}

TransactionResumer defines the interface for types capable to resume transactions.

Jump to

Keyboard shortcuts

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