statistical

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: LGPL-3.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 DiskCache

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

DiskCache 磁盘异步统计

func CreatDiskCache

func CreatDiskCache(ctx context.Context) *DiskCache

CreatDiskCache 创建

func (*DiskCache) Get

func (d *DiskCache) Get() map[string]float64

Get 获取磁盘统计结果

func (*DiskCache) GetServiceDisk

func (d *DiskCache) GetServiceDisk(serviceID string) float64

GetServiceDisk GetServiceDisk

func (*DiskCache) GetTenantEnvDisk added in v1.1.0

func (d *DiskCache) GetTenantEnvDisk(tenantEnvID string) float64

GetTenantEnvDisk GetTenantEnvDisk

func (*DiskCache) Start

func (d *DiskCache) Start()

Start 开始启动统计

func (*DiskCache) Stop

func (d *DiskCache) Stop()

Stop stop

Jump to

Keyboard shortcuts

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