Description
see https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/node.go#L264
The other similar methods (`GetAllocatedResource`, `GetOccupiedResource`, and `GetCapacity`) are using read-lock, so `GetAvailableResource` ought to apply read-lock too.