code: public void disableVM(String hostname, long durationMillis) throws IllegalStateException {
          logger.debug("Disable VM " + hostname + " for " + durationMillis + " millis");
          assignableVMs.disableUntil(hostname, System.currentTimeMillis() + durationMillis);
      }
docs: 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.