/** * Sets the custom idleTimeout for the next {@code RegionAttributes} created. * * @param custom the custom method * @return the receiver * @see AttributesFactory#setCustomEntryIdleTimeout(CustomExpiry) */ public RegionFactory<K, V> setCustomEntryIdleTimeout(CustomExpiry<K, V> custom) { this.attrsFactory.setCustomEntryIdleTimeout(custom); return this; }
@Override public ClientRegionFactory<K, V> setCustomEntryIdleTimeout(CustomExpiry<K, V> custom) { this.attrsFactory.setCustomEntryIdleTimeout(custom); return this; }
new ExpirationAttributes(maxInactiveInterval, ExpirationAction.DESTROY)); } else { requestedFactory.setCustomEntryIdleTimeout(configuration.getCustomExpiry());
ExpirationAttributes expire = new ExpirationAttributes(timeout, ExpirationAction.INVALIDATE); factory.setCustomEntryIdleTimeout(new TestExpiry(key2, expire)); factory.setStatisticsEnabled(true); TestCacheListener list = new TestCacheListener() {
factory.setEntryIdleTimeout(expire); ExpirationAttributes expire2 = new ExpirationAttributes(0, ExpirationAction.INVALIDATE); factory.setCustomEntryIdleTimeout(new TestExpiry(key2, expire2)); factory.setStatisticsEnabled(true); TestCacheListener list = new TestCacheListener() {
ExpirationAttributes expire = new ExpirationAttributes(timeout, ExpirationAction.INVALIDATE); factory.setCustomEntryIdleTimeout(new TestExpiry(key1, expire)); factory.setStatisticsEnabled(true); TestCacheListener list = new TestCacheListener() {
factory.setCustomEntryIdleTimeout(new TestExpiry(key1, expire1)); factory.setStatisticsEnabled(true); TestCacheListener list = new TestCacheListener() {
new ExpirationAttributes(maxInactiveInterval, ExpirationAction.DESTROY)); } else { requestedFactory.setCustomEntryIdleTimeout(configuration.getCustomExpiry());