public final class CacheModeHelper extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static CacheMode | DEFAULT_LEGACY_MODE | 
| static CacheRetrieveMode | DEFAULT_RETRIEVE_MODE | 
| static CacheStoreMode | DEFAULT_STORE_MODE | 
| Modifier and Type | Method and Description | 
|---|---|
| static CacheMode | interpretCacheMode(CacheStoreMode storeMode,
                  CacheRetrieveMode retrieveMode)Given a JPA  CacheStoreModeandCacheRetrieveMode, determine the corresponding
 legacy HibernateCacheMode. | 
| static CacheRetrieveMode | interpretCacheRetrieveMode(CacheMode cacheMode) | 
| static CacheStoreMode | interpretCacheStoreMode(CacheMode cacheMode) | 
public static final CacheMode DEFAULT_LEGACY_MODE
public static final CacheStoreMode DEFAULT_STORE_MODE
public static final CacheRetrieveMode DEFAULT_RETRIEVE_MODE
public static CacheMode interpretCacheMode(CacheStoreMode storeMode, CacheRetrieveMode retrieveMode)
CacheStoreMode and CacheRetrieveMode, determine the corresponding
 legacy Hibernate CacheMode.storeMode - The JPA shared-cache store mode.retrieveMode - The JPA shared-cache retrieve mode.CacheMode.public static CacheStoreMode interpretCacheStoreMode(CacheMode cacheMode)
public static CacheRetrieveMode interpretCacheRetrieveMode(CacheMode cacheMode)
Copyright © 2017 JBoss by Red Hat. All rights reserved.