@Override
    public ExpirationAttributes getExpiry(Entry entry) {
      Object key = entry.getKey();
      synchronized (CountExpiry.class) {
        Integer count = (Integer) invokeCounts.get(key);
        if (count == null) {
          invokeCounts.put(key, 1);
        } else {
          invokeCounts.put(key, count + 1);
        }
      } // synchronized
      if (key.equals(special)) {
        return specialAtt;
      }
      return null;
    }
Configure entry expiration with a idle time. Create an entry and records its scheduled
expiration time. Then mutate the region expiration configuration and confirm that the entry's
expiration time is rescheduled.
geode-dunit/src/main/java/org/apache/geode/cache30/RegionTestCase.java