@ThreadSafe public final class MetricsMasterFactory extends Object implements MasterFactory
MetricsMaster
instance.Constructor and Description |
---|
MetricsMasterFactory()
Constructs a new
MetricsMasterFactory . |
Modifier and Type | Method and Description |
---|---|
MetricsMaster |
create(MasterRegistry registry,
MasterContext context)
Factory method to create a new master instance.
|
String |
getName() |
boolean |
isEnabled() |
public MetricsMasterFactory()
MetricsMasterFactory
.public boolean isEnabled()
isEnabled
in interface MasterFactory
public String getName()
getName
in interface MasterFactory
public MetricsMaster create(MasterRegistry registry, MasterContext context)
MasterFactory
create
in interface MasterFactory
registry
- the master registrycontext
- master contextMaster
instanceCopyright © 2023. All Rights Reserved.