public abstract class RedisGlobalContextImpl extends org.hibernate.ogm.datastore.keyvalue.options.navigation.spi.BaseKeyValueStoreGlobalContext<RedisGlobalContext,RedisEntityContext> implements RedisGlobalContext
| Constructor and Description |
|---|
RedisGlobalContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context) |
| Modifier and Type | Method and Description |
|---|---|
RedisGlobalContext |
associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType) |
RedisGlobalContext |
mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage) |
RedisGlobalContext |
ttl(long value,
TimeUnit timeUnit)
Specifies the TTL for keys.
|
cacheMappingaddEntityOption, addGlobalOption, addPropertyOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic RedisGlobalContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context)
public RedisGlobalContext associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType)
associationStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStoreGlobalContext<RedisGlobalContext,RedisEntityContext>public RedisGlobalContext ttl(long value, TimeUnit timeUnit)
RedisGlobalContextTTLttl in interface RedisGlobalContextvalue - the TTL durationtimeUnit - the TTL time unitpublic RedisGlobalContext mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage)
mapStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStoreGlobalContext<RedisGlobalContext,RedisEntityContext>Copyright © 2010–2017 Hibernate. All rights reserved.