|
|
@ -68,7 +68,9 @@ public class WorkerHeartBeatTask extends BaseHeartBeatTask<WorkerHeartBeat> { |
|
|
|
.loadAverage(loadAverage) |
|
|
|
.loadAverage(loadAverage) |
|
|
|
.availablePhysicalMemorySize(availablePhysicalMemorySize) |
|
|
|
.availablePhysicalMemorySize(availablePhysicalMemorySize) |
|
|
|
.maxCpuloadAvg(maxCpuLoadAvg) |
|
|
|
.maxCpuloadAvg(maxCpuLoadAvg) |
|
|
|
|
|
|
|
.memoryUsage(OSUtils.memoryUsage()) |
|
|
|
.reservedMemory(reservedMemory) |
|
|
|
.reservedMemory(reservedMemory) |
|
|
|
|
|
|
|
.diskAvailable(OSUtils.diskAvailable()) |
|
|
|
.processId(processId) |
|
|
|
.processId(processId) |
|
|
|
.workerHostWeight(workerConfig.getHostWeight()) |
|
|
|
.workerHostWeight(workerConfig.getHostWeight()) |
|
|
|
.workerWaitingTaskCount(this.workerWaitingTaskCount.get()) |
|
|
|
.workerWaitingTaskCount(this.workerWaitingTaskCount.get()) |
|
|
|