public interface RedisEntityContext extends KeyValueStoreEntityContext<RedisEntityContext,RedisPropertyContext>, DocumentStoreEntityContext<RedisEntityContext,RedisPropertyContext>
| Modifier and Type | Method and Description |
|---|---|
RedisEntityContext |
ttl(long value,
TimeUnit timeUnit)
Specifies the TTL for keys.
|
associationStorage, mapStorageentity, propertyRedisEntityContext ttl(long value, TimeUnit timeUnit)
TTLvalue - the TTL durationtimeUnit - the TTL time unitCopyright © 2010–2016 Hibernate. All rights reserved.