package com.topsy.jmxproxy;

import com.fasterxml.jackson.annotation.JsonProperty;

import com.yammer.dropwizard.json.JsonSnakeCase;

import javax.validation.constraints.Min;

@JsonSnakeCase
public class JMXProxyServiceConfiguration {
    @Min(1)
    @JsonProperty
    private int cleanInterval = 1;

    @Min(0)
    @JsonProperty
    private int cacheDuration = 5;

    @Min(1)
    @JsonProperty
    private int accessDuration = 5;

    public int getCleanInterval() {
        return cleanInterval;
    }

    public int getCacheDuration() {
        return cacheDuration;
    }

    public int getAccessDuration() {
        return accessDuration;
    }
}

@@ -419,25 +419,26 @@
 sDuration = 
-5
+30
 ;%0A%0A    publi

Increase default access duration to 30 minutes.