fenzo-core/src/main/java/com/netflix/fenzo/TaskSchedulingService.java
public void requestResourceStatus(Action1<Map<String, Map<VMResource, Double[]>>> action) throws TaskQueueException {
        if (!resStatusRequest.offer(action))
            throw new TaskQueueException("Too many pending actions submitted for getting resource status");
    }
public void requestResourceStatus(Action1<Map<String, Map<VMResource, Double[]>>> action) throws TaskQueueException {
        if (!resStatusRequest.offer(action))
            throw new TaskQueueException("Too many pending actions submitted for getting resource status");
    }
public void requestResourceStatus ( Action1 < Map < String , Map < VMResource , Double [ ] > > > action ) throws TaskQueueException { if ( ! resStatusRequest . offer ( action ) ) throw new TaskQueueException ( "Too many pending actions submitted for getting resource status" ) ; }
Get resource status information and call the given action when available. Although an ongoing scheduling
iteration is unaffected by this call, onset of the next scheduling iteration may be delayed until the call to the
given {@code action} returns. Therefore, it is expected that the {@code action} callback return quickly.
@param action The action to call with resource status.
@throws TaskQueueException if too many actions are pending to get resource status.
Get resource status information and call the given action when available . Although an ongoing scheduling iteration is unaffected by this call onset of the next scheduling iteration may be delayed until the call to the given {