public int getMaximumNumberOfInstances ( final InstanceType instanceType ) { final Integer val = this . maximumMap . get ( instanceType ) ; if ( val != null ) { return val . intValue ( ) ; } return 0 ; }
Returns the maximum number of instances to be requested from the given instance type .