scheduled

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 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) AddJob added in v0.23.4

func (s *ExecutorService) AddJob(jd JobDefinition)

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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