Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.annotations |
Package containing all the Hibernate specific annotations.
|
org.hibernate.boot.jaxb.hbm.internal |
JAXB details.
|
org.hibernate.boot.jaxb.hbm.spi | |
org.hibernate.cfg.annotations | |
org.hibernate.engine.spi | |
org.hibernate.envers.query | |
org.hibernate.envers.query.internal.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.internal | |
org.hibernate.jpa.internal.util | |
org.hibernate.jpa.spi | |
org.hibernate.search | |
org.hibernate.search.batchindexing.impl |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Session.getCacheMode()
Get the current cache mode.
|
CacheMode |
BasicQueryContract.getCacheMode()
Obtain the CacheMode in effect for this query.
|
static CacheMode |
CacheMode.interpretExternalSetting(String setting)
Used to interpret externalized forms of this enum.
|
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 |
---|---|
void |
Session.setCacheMode(CacheMode cacheMode)
Set the cache mode.
|
Query |
Query.setCacheMode(CacheMode cacheMode) |
Criteria |
Criteria.setCacheMode(CacheMode cacheMode)
Override the cache mode for this particular query.
|
BasicQueryContract |
BasicQueryContract.setCacheMode(CacheMode cacheMode)
(Re)set the current CacheMode in effect for this query.
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CacheModeType.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
static CacheModeType |
CacheModeType.fromCacheMode(CacheMode cacheMode)
Conversion from
CacheMode to CacheModeType . |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
CacheModeConverter.fromXml(String name) |
Modifier and Type | Method and Description |
---|---|
static String |
CacheModeConverter.toXml(CacheMode cacheMode) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
JaxbHbmNamedQueryType.cacheMode |
protected CacheMode |
JaxbHbmNamedNativeQueryType.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
JaxbHbmNamedQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
JaxbHbmNamedNativeQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
Adapter1.unmarshal(String value) |
Modifier and Type | Method and Description |
---|---|
String |
Adapter1.marshal(CacheMode value) |
void |
JaxbHbmNamedQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
JaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryHintDefinition.getCacheMode(String query) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
NamedQueryDefinitionBuilder.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
SessionImplementor.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
CacheMode |
NamedQueryDefinition.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
SessionImplementor.setCacheMode(CacheMode cm) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
Constructor and Description |
---|
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer lockTimeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
NativeSQLQueryReturn[] queryReturns,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
String resultSetRef,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
Modifier and Type | Method and Description |
---|---|
AuditQuery |
AuditQuery.setCacheMode(CacheMode cacheMode) |
AuditAssociationQuery<Q> |
AuditAssociationQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.setCacheMode(CacheMode cacheMode) |
AuditQuery |
AbstractAuditQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
StatelessSessionImpl.getCacheMode() |
CacheMode |
SessionImpl.getCacheMode() |
CacheMode |
AbstractQueryImpl.getCacheMode() |
CacheMode |
AbstractBasicQueryContractImpl.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
StatelessSessionImpl.setCacheMode(CacheMode cm) |
void |
SessionImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode) |
Query |
AbstractQueryImpl.setCacheMode(CacheMode cacheMode) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
StoredProcedureQueryImpl.applyCacheModeHint(CacheMode cacheMode) |
protected boolean |
QueryImpl.applyCacheModeHint(CacheMode cacheMode) |
Modifier and Type | Field and Description |
---|---|
static CacheMode |
CacheModeHelper.DEFAULT_LEGACY_MODE |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
ConfigurationHelper.getCacheMode(Object value) |
static CacheMode |
CacheModeHelper.interpretCacheMode(CacheStoreMode storeMode,
CacheRetrieveMode retrieveMode)
Given a JPA
CacheStoreMode and CacheRetrieveMode , determine the corresponding
legacy Hibernate CacheMode . |
Modifier and Type | Method and Description |
---|---|
static CacheRetrieveMode |
CacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode) |
static CacheStoreMode |
CacheModeHelper.interpretCacheStoreMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractEntityManagerImpl.determineAppropriateLocalCacheMode(Map<String,Object> localProperties) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
BaseQueryImpl.applyCacheModeHint(CacheMode cacheMode)
Apply the CacheMode hint.
|
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexer.cacheMode(CacheMode cacheMode)
Sets the cache interaction mode for the data loading tasks.
|
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexerImpl.cacheMode(CacheMode cacheMode) |
Constructor and Description |
---|
BatchCoordinator(Set<Class<?>> rootEntities,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
SessionFactoryImplementor sessionFactory,
int typesToIndexInParallel,
int documentBuilderThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
long objectsLimit,
boolean optimizeAtEnd,
boolean purgeAtStart,
boolean optimizeAfterPurge,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
int idFetchSize,
Integer transactionTimeout,
String tenantId) |
BatchIndexingWorkspace(org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
SessionFactoryImplementor sessionFactory,
Class<?> entityType,
int objectLoadingThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
CountDownLatch endAllSignal,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
org.hibernate.search.backend.spi.BatchBackend backend,
long objectsLimit,
int idFetchSize,
Integer transactionTimeout,
String tenantId) |
IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
CacheMode cacheMode,
Class<?> type,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator searchFactory,
String idName,
org.hibernate.search.backend.spi.BatchBackend backend,
org.hibernate.search.exception.ErrorHandler errorHandler,
Integer transactionTimeout,
String tenantId) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.