类的使用
org.apache.seatunnel.engine.server.resourcemanager.worker.WorkerProfile
使用WorkerProfile的程序包
程序包
说明
-
org.apache.seatunnel.engine.server.resourcemanager中WorkerProfile的使用
修饰符和类型字段说明final ConcurrentMap<com.hazelcast.cluster.Address,WorkerProfile> AbstractResourceManager.registerWorker修饰符和类型方法说明ConcurrentMap<com.hazelcast.cluster.Address,WorkerProfile> ResourceManager.getRegisterWorker()ResourceRequestHandler.preCheckWorkerResource(ResourceProfile r) 修饰符和类型方法说明voidAbstractResourceManager.heartbeat(WorkerProfile workerProfile) voidResourceManager.heartbeat(WorkerProfile workerProfile) Every time ResourceManager and Worker communicate, heartbeat method should be called to record the latest Worker status限定符构造器说明ResourceRequestHandler(long jobId, List<ResourceProfile> resourceProfile, ConcurrentMap<com.hazelcast.cluster.Address, WorkerProfile> registerWorker, AbstractResourceManager resourceManager, SlotAllocationStrategy slotAllocationStrategy) -
org.apache.seatunnel.engine.server.resourcemanager.allocation.strategy中WorkerProfile的使用
修饰符和类型方法说明RandomStrategy.selectWorker(List<WorkerProfile> availableWorkers) SlotAllocationStrategy.selectWorker(List<WorkerProfile> availableWorkers) SlotRatioStrategy.selectWorker(List<WorkerProfile> availableWorkers) SystemLoadStrategy.selectWorker(List<WorkerProfile> availableWorkers) 修饰符和类型方法说明SystemLoadStrategy.calculateWeight(WorkerProfile workerProfile, Map<com.hazelcast.cluster.Address, SlotAssignedProfile> workerAssignedSlots) 修饰符和类型方法说明RandomStrategy.selectWorker(List<WorkerProfile> availableWorkers) SlotAllocationStrategy.selectWorker(List<WorkerProfile> availableWorkers) SlotRatioStrategy.selectWorker(List<WorkerProfile> availableWorkers) SystemLoadStrategy.selectWorker(List<WorkerProfile> availableWorkers) -
org.apache.seatunnel.engine.server.resourcemanager.opeartion中WorkerProfile的使用
-
org.apache.seatunnel.engine.server.service.slot中WorkerProfile的使用
修饰符和类型方法说明DefaultSlotService.getWorkerProfile()SlotAndWorkerProfile.getWorkerProfile()SlotService.getWorkerProfile() -
org.apache.seatunnel.engine.server.utils中WorkerProfile的使用
修饰符和类型方法说明doubleSystemLoadCalculate.balanceFactor(WorkerProfile workerProfile, Integer assignedSlots) doubleSystemLoadCalculate.balanceFactor(WorkerProfile workerProfile, Map<com.hazelcast.cluster.Address, SlotAssignedProfile> workerAssignedSlots) doubleSystemLoadCalculate.calculate(org.apache.seatunnel.shade.com.google.common.collect.EvictingQueue<SystemLoadInfo> systemLoads, WorkerProfile workerProfile, Map<com.hazelcast.cluster.Address, SlotAssignedProfile> workerAssignedSlots) doubleSystemLoadCalculate.calculateComprehensiveResourceAvailability(double comprehensiveResourceAvailability, WorkerProfile workerProfile, Map<com.hazelcast.cluster.Address, SlotAssignedProfile> workerAssignedSlots) step4.