Skip to main content

Leader

Type Alias Leader 

Source
pub type Leader = Arc<dyn Fn() -> bool + Send + Sync>;
Expand description

监控能做什么判断:多服务器时由网关租约决定本机是否调度。

Aliased Type§

pub struct Leader { /* private fields */ }