use of alluxio.master.metrics.MetricsMaster in project alluxio by Alluxio.
the class BlockMasterFactory method create.
@Override
public BlockMaster create(MasterRegistry registry, CoreMasterContext context) {
LOG.info("Creating {} ", BlockMaster.class.getName());
MetricsMaster metricsMaster = registry.get(MetricsMaster.class);
BlockMaster master = new DefaultBlockMaster(metricsMaster, context);
registry.add(BlockMaster.class, master);
return master;
}
Aggregations