dumb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2016 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package dumb provides the policy which does not control non-deternimism

Index

Constants

View Source
const Name = "dumb"

Variables

This section is empty.

Functions

This section is empty.

Types

type Dumb

type Dumb struct {

	// parameter "interval"
	Interval time.Duration
	// contains filtered or unexported fields
}

func New

func New() *Dumb

func (*Dumb) ActionChan

func (d *Dumb) ActionChan() chan signal.Action

func (*Dumb) LoadConfig

func (d *Dumb) LoadConfig(cfg config.Config) error

parameters:

  • interval(duration): interval (default: 0 msecs)

should support dynamic reloading

func (*Dumb) Name

func (d *Dumb) Name() string

returns "dumb"

func (*Dumb) QueueEvent

func (d *Dumb) QueueEvent(event signal.Event)

func (*Dumb) SetHistoryStorage

func (d *Dumb) SetHistoryStorage(storage historystorage.HistoryStorage) error

Jump to

Keyboard shortcuts

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