Struct dubbo::cluster::support::cluster_invoker::ClusterInvoker
source · pub struct ClusterInvoker { /* private fields */ }
Implementations§
source§impl ClusterInvoker
impl ClusterInvoker
pub fn with_directory(registry_directory: RegistryDirectory) -> Self
pub fn directory(&self) -> Arc<RegistryDirectory>
pub fn init_loadbalance(&self, loadbalance_key: &str) -> &BoxLoadBalance
pub fn is_available(&self, invocation: Arc<RpcInvocation>) -> bool
pub fn destroyed(&self) -> bool
Trait Implementations§
source§impl Clone for ClusterInvoker
impl Clone for ClusterInvoker
source§fn clone(&self) -> ClusterInvoker
fn clone(&self) -> ClusterInvoker
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more