/** * Creates a new instance of {@link ConfigCheckReport} from proto representation. * * @param report the proto representation of a configuration check report * @return the instance */ public static ConfigCheckReport fromProto(alluxio.grpc.ConfigCheckReport report) { return new ConfigCheckReport(report); }
/** * Constructs a new {@link ServerConfigurationChecker}. * * @param masterStore master configuration store * @param workerStore worker configuration store */ public ServerConfigurationChecker(ServerConfigurationStore masterStore, ServerConfigurationStore workerStore) { mMasterStore = masterStore; mWorkerStore = workerStore; mConfigCheckReport = new ConfigCheckReport(); mMasterStore.registerChangeListener(() -> mConfigDirty = true); mWorkerStore.registerChangeListener(() -> mConfigDirty = true); }
mConfigCheckReport = new ConfigCheckReport(confErrors, confWarns, status);
/** * Creates a new instance of {@link ConfigCheckReport} from thrift representation. * * @param report the thrift representation of a configuration check report * @return the instance */ public static ConfigCheckReport fromThrift(alluxio.thrift.ConfigCheckReport report) { return new ConfigCheckReport(report); }
/** * Constructs a new {@link ServerConfigurationChecker}. * * @param masterStore master configuration store * @param workerStore worker configuration store */ public ServerConfigurationChecker(ServerConfigurationStore masterStore, ServerConfigurationStore workerStore) { mMasterStore = masterStore; mWorkerStore = workerStore; mConfigCheckReport = new ConfigCheckReport(); mMasterStore.registerChangeListener(() -> mConfigDirty = true); mWorkerStore.registerChangeListener(() -> mConfigDirty = true); }
mConfigCheckReport = new ConfigCheckReport(confErrors, confWarns, status);