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