class EhcacheWebServiceEndpoint {

    @WebMethod
    public StatisticsAccuracy getStatisticsAccuracy(String cacheName) {
        net.sf.ehcache.Cache cache = lookupCache(cacheName);
        return StatisticsAccuracy.fromCode(cache.getStatisticsAccuracy());
    }

}