Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IInvoker ¶
type IInvoker interface { Execute() ReloadTaskConfig(taskConfig *model.TaskConfig) StopRunning() <-chan bool Start() GetShard() int32 }
func NewRtTaskInvoker ¶
type RtBaseInvoker ¶
type RtBaseInvoker struct { LogPrefix string ServerAddress string // contains filtered or unexported fields }
RtBaseInvoker implementations:
StopRunning(),Start(),GetShard()
not implemented:
Execute(),ReloadTaskConfig()
func (*RtBaseInvoker) GetShard ¶
func (r *RtBaseInvoker) GetShard() int32
func (*RtBaseInvoker) Start ¶
func (r *RtBaseInvoker) Start()
func (*RtBaseInvoker) StopRunning ¶
func (r *RtBaseInvoker) StopRunning() <-chan bool
type RtTaskInvoker ¶
type RtTaskInvoker struct { RtBaseInvoker // contains filtered or unexported fields }
func (*RtTaskInvoker) Execute ¶
func (r *RtTaskInvoker) Execute()
func (*RtTaskInvoker) ReloadTaskConfig ¶
func (r *RtTaskInvoker) ReloadTaskConfig(taskConfig *model.TaskConfig)
Click to show internal directories.
Click to hide internal directories.