Documentation ¶
Index ¶
- func InitAdminBizList(adminAddresses string, accessToken string) []*client.AdminBizClient
- func InitBizServer(ip string, port int32, accessToken string, ...) *server.ExecutorBizServer
- func InitExecutorRegistryProccessor(appname string, address string) *proccess.ExecutorRegistryProccessor
- func InitJobLogFileCleanProccessor(logRetentionDays int32, xxlLogPath string) *proccess.JobLogFileCleanProccessor
- func InitTriggerCallbackProccessor() *proccess.TriggerCallbackProccessor
- func InitZapLogger(logPath string) *zap.Logger
- type XxljobExcutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAdminBizList ¶
func InitAdminBizList(adminAddresses string, accessToken string) []*client.AdminBizClient
func InitBizServer ¶
func InitBizServer(ip string, port int32, accessToken string, triggerCallback *proccess.TriggerCallbackProccessor) *server.ExecutorBizServer
func InitExecutorRegistryProccessor ¶
func InitExecutorRegistryProccessor(appname string, address string) *proccess.ExecutorRegistryProccessor
func InitJobLogFileCleanProccessor ¶
func InitJobLogFileCleanProccessor(logRetentionDays int32, xxlLogPath string) *proccess.JobLogFileCleanProccessor
func InitTriggerCallbackProccessor ¶
func InitTriggerCallbackProccessor() *proccess.TriggerCallbackProccessor
func InitZapLogger ¶
---------------- 一下是初始化方法-------------------------------------------------------------------------------------------------------------------------------------------------------------
Types ¶
type XxljobExcutor ¶
type XxljobExcutor struct {
// contains filtered or unexported fields
}
func NewXxljobExcutor ¶
func (*XxljobExcutor) AddJobHandler ¶
func (xe *XxljobExcutor) AddJobHandler(handlerName string, handler handler.IJobHandler)
添加IJobHandler
@auth Frank Fan @param handlerName string @param handler IJobHandler @return
func (*XxljobExcutor) Destroy ¶
func (xe *XxljobExcutor) Destroy()
func (*XxljobExcutor) Start ¶
func (xe *XxljobExcutor) Start()
Click to show internal directories.
Click to hide internal directories.