/* Generated by Together */

package cobalt.deployment.descriptor.dist;

import cobalt.deployment.common.DataContainer;
import cobalt.deployment.common.MustNotNullException;

public class Jeus30PoolConfig extends DataContainer{
    public Jeus30PoolConfig() {
        super();
        setPoolMin(2);
        setPoolMax(4);
        setPoolStep(1);
        setPoolResizePeriod(600000);
    }

    public int getPoolMin(){
        return getInt("pool-min", 2);
    }

    public String getPoolMinValue(){
        return getString("pool-min");
    }

    public void setPoolMin(int poolMin){
        setInt("pool-min", poolMin);
    }

    public int getPoolMax(){
        return getInt("pool-max", 4);
    }

    public String getPoolMaxValue(){
        return getString("pool-max");
    }

    public void setPoolMax(int poolMax){
        setInt("pool-max", poolMax);
    }

    public int getPoolStep(){
        return getInt("pool-step", 1);
    }

    public String getPoolStepValue(){
        return getString("pool-step");
    }

    public void setPoolStep(int poolStep){
        setInt("pool-step", poolStep);
    }

    public int getPoolResizePeriod(){
        return getInt("pool-resize-period", 60000);
    }

    public String getPoolResizePeriodValue(){
        return getString("pool-resize-period");
    }

    public void setPoolResizePeriod(int poolResizePeriod){
        setInt("pool-resize-period", poolResizePeriod);
    }
}
