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