Package | Description |
---|---|
com.atlassian.confluence.core.persistence.hibernate |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
SessionCacheModeThreadLocal.get() |
static CacheMode |
CacheMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheMode[] |
CacheMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
SessionCacheModeThreadLocal.set(CacheMode mode)
Set cache mode for Hibernate sessions in current thread
|
static Cleanup |
SessionCacheModeThreadLocal.temporarilySetCacheMode(CacheMode cacheMode)
Temporarily set the CacheMode within a try-with-resources code block.
|
Copyright © 2003–2019 Atlassian. All rights reserved.