/** * This is a factory method for this PermGen Threshold configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param threshold the threshold value for the PermGen option * * @return the actual type safe PermGen threshold configuration. */ public static PermGenThresholdOption get( int threshold ) { return new PermGenThresholdOption( threshold ); }
/** * This is a factory method for this PermGen Threshold configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param threshold the threshold value for the PermGen option * * @return the actual type safe PermGen threshold configuration. */ public static PermGenThresholdOption get( int threshold ) { return new PermGenThresholdOption( threshold ); }