failure_detector

package
v0.0.0-...-30cbb4e Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailureDetector

func NewFailureDetector() go_sheep.SWIM

Types

type Swim

type Swim struct{}

func (Swim) GetCheckers

func (Swim) GetCheckers(s *go_sheep.State, targetNode *go_sheep.Node, currentNode *go_sheep.Node, n int) (foundNodes []*go_sheep.Node, err error)

func (Swim) GetRandomizedTarget

func (Swim) GetRandomizedTarget(s *go_sheep.State, currentNodeInfo *go_sheep.Node) (n *go_sheep.Node, err error)

func (Swim) MergeState

func (Swim) MergeState(as, bs *go_sheep.State) (newState *go_sheep.State, err error)

Jump to

Keyboard shortcuts

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