fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java
public boolean expireAllLeasesByVMId(String vmId) throws IllegalStateException {
        final String hostname = assignableVMs.getHostnameFromVMId(vmId);
        if (hostname == null) {
            return false;
        }
        expireAllLeases(hostname);
        return true;
    }
public boolean expireAllLeasesByVMId(String vmId) throws IllegalStateException {
        final String hostname = assignableVMs.getHostnameFromVMId(vmId);
        if (hostname == null) {
            return false;
        }
        expireAllLeases(hostname);
        return true;
    }
Call this method to instruct the task scheduler to reject all of the unused offers it is currently
holding that concern resources offered by the host with the ID, {@code vmId}.

@param vmId the ID of the host whose leases you want to expire
@return {@code true} if the given ID matches a known host, {@code false} otherwise.
@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.