private static CapacityDecrementer loadDecrementer ( Extension decrementer , ClassLoaderPlugin classLoaderPlugin ) { Object result = loadExtension ( decrementer , classLoaderPlugin ) ; if ( result != null && result instanceof CapacityDecrementer ) { return ( CapacityDecrementer ) result ; } log . debugf ( "%s wasn't a CapacityDecrementer" , decrementer . getClassName ( ) ) ; return null ; }
Load the decrementer