Comments fixed. #732

pull/748/head
Nikita 8 years ago
parent 8bd1d868c5
commit 89606bfe28

@ -24,12 +24,11 @@ import java.util.concurrent.TimeUnit;
*
* <p>Current redis implementation doesnt have map entry eviction functionality.
* Thus entries are checked for TTL expiration during any key/value/entry read operation.
* If key/value/entry expired then it doesn't returns and clean task runs asynchronous.
* Clean task deletes removes 100 expired entries at once.
* In addition there is {@link org.redisson.EvictionScheduler}. This scheduler
* If key/value/entry expired then it doesn't returns.
* Expired tasks cleaned by {@link org.redisson.EvictionScheduler}. This scheduler
* deletes expired entries in time interval between 5 seconds to 2 hours.</p>
*
* <p>If eviction is not required then it's better to use {@link org.redisson.reactive.RedissonMapReactive}.</p>
* <p>If eviction is not required then it's better to use {@link org.redisson.RedissonMap}.</p>
*
* @author Nikita Koksharov
*
@ -44,9 +43,6 @@ public interface RMapCache<K, V> extends RMap<K, V>, RMapCacheAsync<K, V> {
* <p>
* Stores value mapped by key with specified time to live.
* Entry expires after specified time to live.
* <p>
* If the map previously contained a mapping for
* the key, the old value is replaced by the specified value.
*
* @param key - map key
* @param value - map value
@ -63,9 +59,6 @@ public interface RMapCache<K, V> extends RMap<K, V>, RMapCacheAsync<K, V> {
* <p>
* Stores value mapped by key with specified time to live and max idle time.
* Entry expires when specified time to live or max idle time has expired.
* <p>
* If the map previously contained a mapping for
* the key, the old value is replaced by the specified value.
*
* @param key - map key
* @param value - map value

@ -18,18 +18,17 @@ package org.redisson.api;
import java.util.concurrent.TimeUnit;
/**
* <p>Async interface for map-based cache with ability to set TTL for each entry via
* {RMapCacheAsync#putAsync(K, V, long, TimeUnit)} or {RMapCacheAsync#putIfAbsentAsync(K, V, long, TimeUnit)}
* <p>Map-based cache with ability to set TTL for each entry via
* {@link #put(Object, Object, long, TimeUnit)} or {@link #putIfAbsent(Object, Object, long, TimeUnit)}
* And therefore has an complex lua-scripts inside.</p>
*
* <p>Current redis implementation doesnt have eviction functionality.
* <p>Current redis implementation doesnt have map entry eviction functionality.
* Thus entries are checked for TTL expiration during any key/value/entry read operation.
* If key/value/entry expired then it doesn't returns and clean task runs asynchronous.
* Clean task deletes removes 100 expired entries at once.
* In addition there is {@link org.redisson.EvictionScheduler}. This scheduler
* If key/value/entry expired then it doesn't returns.
* Expired tasks cleaned by {@link org.redisson.EvictionScheduler}. This scheduler
* deletes expired entries in time interval between 5 seconds to 2 hours.</p>
*
* <p>If eviction is not required then it's better to use {@link org.redisson.reactive.RedissonMapReactive}.</p>
* <p>If eviction is not required then it's better to use {@link org.redisson.RedissonMap}.</p>
*
* @author Nikita Koksharov
*

Loading…
Cancel
Save