public abstract class RedisPropertyContextImpl extends BaseKeyValueStorePropertyContext<RedisEntityContext,RedisPropertyContext> implements RedisPropertyContext
| Constructor and Description |
|---|
RedisPropertyContextImpl(ConfigurationContext context) |
| Modifier and Type | Method and Description |
|---|---|
RedisPropertyContext |
associationStorage(AssociationStorageType associationStorageType) |
RedisPropertyContext |
mapStorage(MapStorageType mapStorage) |
RedisPropertyContext |
ttl(long value,
TimeUnit timeUnit)
Specifies the TTL for keys.
|
addEntityOption, addGlobalOption, addPropertyOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentity, propertypublic RedisPropertyContextImpl(ConfigurationContext context)
public RedisPropertyContext associationStorage(AssociationStorageType associationStorageType)
associationStorage in interface DocumentStorePropertyContext<RedisEntityContext,RedisPropertyContext>public RedisPropertyContext ttl(long value, TimeUnit timeUnit)
RedisPropertyContextTTLttl in interface RedisPropertyContextvalue - the TTL durationtimeUnit - the TTL time unitpublic RedisPropertyContext mapStorage(MapStorageType mapStorage)
mapStorage in interface DocumentStorePropertyContext<RedisEntityContext,RedisPropertyContext>Copyright © 2010–2016 Hibernate. All rights reserved.