class CacheableMonitoringValue {

    public boolean isCacheValid() {
        long now = System.currentTimeMillis();
        if (now - timestamp < cacheTimeInMillis) {
            return true;
        }
        return false;
    }

    public  CacheableMonitoringValue(long cacheTimeInMillis);

}