biz

package
v0.0.0-...-b025b39 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminBiz

type AdminBiz interface {

	//  上报任务运行结果
	// @auth      Frank Fan
	// @param     callbackParamList []HandleCallbackParam 任务运行结果
	// @return
	Callback(callbackParamList []HandleCallbackParam) ReturnT

	// 注册执行器
	// @auth      Frank Fan
	// @param     registryParam RegistryParam 任务运行结果
	// @return
	Registry(registryParam RegistryParam) ReturnT

	// 移除执行器注册信息
	// @auth      Frank Fan
	// @param     registryParam RegistryParam 任务运行结果
	// @return
	RegistryRemove(registryParam RegistryParam) ReturnT
}

type ExecutorBiz

type ExecutorBiz interface {
	//  回应调度期心跳询问
	// @auth      Frank Fan
	// @return
	Beat() ReturnT
	//  上报心跳
	// @auth      Frank Fan
	// @param     idleBeatParam IdleBeatParam 心跳信息
	// @return
	IdleBeat(idleBeatParam IdleBeatParam) ReturnT
	//  执行任务
	// @auth      Frank Fan
	// @param     triggerParam TriggerParam 触发任务信息
	// @return
	Run(triggerParam TriggerParam) ReturnT
	//  杀死任务
	// @auth      Frank Fan
	// @param     killParam KillParam 参数
	// @return
	Kill(killParam KillParam) ReturnT

	//  查询任务日志
	// @auth      Frank Fan
	// @param     logParam LogParam 查询参数
	// @return
	Log(logParam LogParam) ReturnT
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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