scheduled

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorService

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

func NewExecutorService

func NewExecutorService(
	statsScope tally.Scope,
	log logging.SimpleLogging,
) *ExecutorService

func (*ExecutorService) Run

func (s *ExecutorService) Run()

type Job

type Job interface {
	Run()
}

type JobDefinition

type JobDefinition struct {
	Job    Job
	Period time.Duration
}

type RuntimeStatCollector

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

func NewRuntimeStats

func NewRuntimeStats(scope tally.Scope) *RuntimeStatCollector

func (*RuntimeStatCollector) Run

func (r *RuntimeStatCollector) Run()

Jump to

Keyboard shortcuts

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