Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cluster/node/actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ func (a *Actor) Proxy() *Proxy {
return a.scheduler.node.proxy
}

// Processor 获取处理器
func (a *Actor) Processor() Processor {
return a.processor
}

// Invoke 调用函数(Actor内线程安全)
func (a *Actor) Invoke(fn func()) {
a.rw.RLock()
Expand Down