public abstract class RedisEntityContextImpl extends org.hibernate.ogm.datastore.keyvalue.options.navigation.spi.BaseKeyValueStoreEntityContext<RedisEntityContext,RedisPropertyContext> implements RedisEntityContext
| Constructor and Description |
|---|
RedisEntityContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context) |
| Modifier and Type | Method and Description |
|---|---|
RedisEntityContext |
associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType) |
RedisEntityContext |
mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage) |
RedisEntityContext |
ttl(long value,
TimeUnit timeUnit)
Specifies the TTL for keys.
|
addEntityOption, addGlobalOption, addPropertyOptionpublic RedisEntityContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context)
public RedisEntityContext associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType)
associationStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStoreEntityContext<RedisEntityContext,RedisPropertyContext>public RedisEntityContext ttl(long value, TimeUnit timeUnit)
RedisEntityContextTTLttl in interface RedisEntityContextvalue - the TTL durationtimeUnit - the TTL time unitpublic RedisEntityContext mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage)
mapStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStoreEntityContext<RedisEntityContext,RedisPropertyContext>Copyright © 2010–2017 Hibernate. All rights reserved.