public abstract class RedisGlobalContextImpl extends BaseKeyValueStoreGlobalContext<RedisGlobalContext,RedisEntityContext> implements RedisGlobalContext
| Constructor and Description |
|---|
RedisGlobalContextImpl(ConfigurationContext context) |
| Modifier and Type | Method and Description |
|---|---|
RedisGlobalContext |
associationStorage(AssociationStorageType associationStorageType) |
RedisGlobalContext |
mapStorage(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, waitcacheMappingentitypublic RedisGlobalContextImpl(ConfigurationContext context)
public RedisGlobalContext associationStorage(AssociationStorageType associationStorageType)
associationStorage in interface DocumentStoreGlobalContext<RedisGlobalContext,RedisEntityContext>public RedisGlobalContext ttl(long value, TimeUnit timeUnit)
RedisGlobalContextTTLttl in interface RedisGlobalContextvalue - the TTL durationtimeUnit - the TTL time unitpublic RedisGlobalContext mapStorage(MapStorageType mapStorage)
mapStorage in interface DocumentStoreGlobalContext<RedisGlobalContext,RedisEntityContext>Copyright © 2010–2016 Hibernate. All rights reserved.