@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final CacheConfig that = (CacheConfig) o;
        return Objects.equals(maximumSize, that.maximumSize) &&
               Objects.equals(expireAfterAccess, that.expireAfterAccess) &&
               Objects.equals(expireAfterWrite, that.expireAfterWrite) &&
               Objects.equals(refreshAfterWrite, that.refreshAfterWrite) &&
               Objects.equals(statisticsMode, that.statisticsMode);
    }
The default {@link StatisticsMode} to use with stroom-proxy.
stroom-util/src/main/java/stroom/util/cache/CacheConfig.java