@Override protected void putTransientInternal(long ttl, TimeUnit timeunit, Long maxIdle, TimeUnit maxIdleUnit, Object key, Object value) { key = toNearCacheKey(key); try { super.putTransientInternal(ttl, timeunit, maxIdle, maxIdleUnit, key, value); } finally { invalidateNearCache(key); } }
@Override protected void putTransientInternal(long ttl, TimeUnit timeunit, Long maxIdle, TimeUnit maxIdleUnit, Object key, Object value) { key = toNearCacheKey(key); try { super.putTransientInternal(ttl, timeunit, maxIdle, maxIdleUnit, key, value); } finally { invalidateNearCache(key); } }
@Override public void putTransient(K key, V value, long ttl, TimeUnit timeunit) { checkNotNull(key, NULL_KEY_IS_NOT_ALLOWED); checkNotNull(value, NULL_VALUE_IS_NOT_ALLOWED); putTransientInternal(ttl, timeunit, null, null, key, value); }
@Override public void putTransient(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit) { checkNotNull(key, NULL_KEY_IS_NOT_ALLOWED); checkNotNull(value, NULL_VALUE_IS_NOT_ALLOWED); putTransientInternal(ttl, ttlUnit, maxIdle, maxIdleUnit, key, value); }
@Override public void putTransient(K key, V value, long ttl, TimeUnit timeunit) { checkNotNull(key, NULL_KEY_IS_NOT_ALLOWED); checkNotNull(value, NULL_VALUE_IS_NOT_ALLOWED); putTransientInternal(ttl, timeunit, null, null, key, value); }
@Override public void putTransient(K key, V value, long ttl, TimeUnit ttlUnit, long maxIdle, TimeUnit maxIdleUnit) { checkNotNull(key, NULL_KEY_IS_NOT_ALLOWED); checkNotNull(value, NULL_VALUE_IS_NOT_ALLOWED); putTransientInternal(ttl, ttlUnit, maxIdle, maxIdleUnit, key, value); }