fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java
public void disableVM(String hostname, long durationMillis) throws IllegalStateException {
        logger.debug("Disable VM " + hostname + " for " + durationMillis + " millis");
        assignableVMs.disableUntil(hostname, System.currentTimeMillis() + durationMillis);
    }
public void disableVM(String hostname, long durationMillis) throws IllegalStateException {
        logger.debug("Disable VM " + hostname + " for " + durationMillis + " millis");
        assignableVMs.disableUntil(hostname, System.currentTimeMillis() + durationMillis);
    }
Disable the virtual machine with the specified hostname. The scheduler will not use disabled hosts for
allocating resources to tasks.

@param hostname       the name of the host to disable
@param durationMillis the length of time, starting from now, in milliseconds, during which the host will
be disabled
@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.