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