tasks

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CacheKeyFindAllMetricDataCharts = "findAllMetricDataCharts"
	CacheKeyFindGlobalTopDomains    = "globalFindTopDomains"

	CacheKeyFindNodeClusterMetricDataCharts = "findNodeClusterMetricDataCharts"

	CacheKeyFindNodeMetricDataCharts = "findNodeMetricDataCharts"

	CacheKeyFindServerMetricDataCharts = "findServerMetricDataCharts"
)

Variables

View Source
var SharedCacheTaskManager = NewCacheTaskManager()

Functions

This section is empty.

Types

type CacheTaskManager

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

func NewCacheTaskManager

func NewCacheTaskManager() *CacheTaskManager

func (*CacheTaskManager) Get

func (this *CacheTaskManager) Get(key string) (value interface{}, ok bool)

func (*CacheTaskManager) GetCluster

func (this *CacheTaskManager) GetCluster(key string, clusterId int64, category string) (value interface{}, ok bool)

func (*CacheTaskManager) GetGlobalTopDomains

func (this *CacheTaskManager) GetGlobalTopDomains() (value interface{}, ok bool)

func (*CacheTaskManager) GetNode

func (this *CacheTaskManager) GetNode(key string, clusterId int64, nodeId int64, category string) (value interface{}, ok bool)

func (*CacheTaskManager) GetServer

func (this *CacheTaskManager) GetServer(key string, clusterId int64, serverId int64, category string) (value interface{}, ok bool)

func (*CacheTaskManager) Loop

func (this *CacheTaskManager) Loop() error

func (*CacheTaskManager) Start

func (this *CacheTaskManager) Start()

Jump to

Keyboard shortcuts

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