fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java
List<VirtualMachineCurrentState> getVmCurrentStatesIntl() throws IllegalStateException {
        try (AutoCloseable ignored = stateMonitor.enter()) {
            return assignableVMs.getVmCurrentStates();
        } catch (Exception e) {
            logger.error("Unexpected error from state monitor: " + e.getMessage(), e);
            throw new IllegalStateException(e);
        }
    }
List<VirtualMachineCurrentState> getVmCurrentStatesIntl() throws IllegalStateException {
        try (AutoCloseable ignored = stateMonitor.enter()) {
            return assignableVMs.getVmCurrentStates();
        } catch (Exception e) {
            logger.error("Unexpected error from state monitor: " + e.getMessage(), e);
            throw new IllegalStateException(e);
        }
    }
List < VirtualMachineCurrentState > getVmCurrentStatesIntl ( ) throws IllegalStateException { try ( AutoCloseable ignored = stateMonitor . enter ( ) ) { return assignableVMs . getVmCurrentStates ( ) ; } catch ( Exception e ) { logger . error ( "Unexpected error from state monitor: " + e . getMessage ( ) , e ) ; throw new IllegalStateException ( e ) ; } }
/* package
/ * package