| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final CacheEntityLoaderHelper | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private Object | convertCacheEntryToEntity(CacheEntry entry, Serializable entityId, EntityPersister persister, LoadEvent event, EntityKey entityKey)
|
| private Object | convertCacheReferenceEntryToEntity(ReferenceCacheEntryImpl referenceCacheEntry, EventSource session, EntityKey entityKey)
Deprecated
as a consequence of
EventSource being deprecated.
|
| private Object | getFromSharedCache(final LoadEvent event, final EntityPersister persister, SessionImplementor source)
Deprecated
as a consequence of
SessionImplementor being deprecated.
|
| public Object | Returns: The entity from the second-level cache, or null.The load event event, final EntityPersister The persister for the entity being requested for load persister, final EntityKey entityKey)Attempts to load the entity from the second-level cache. |
| public CacheEntityLoaderHelper. | Returns: The entity from the session-level cache, or null.The load event event, final EntityKey The EntityKey representing the entity to be loaded. keyToLoad, final LoadEventListener.The load options. optionsAttempts to locate the entity in the session-level cache. |
| private void | makeEntityCircularReferenceSafe(ReferenceCacheEntryImpl referenceCacheEntry, EventSource session, Object entity, EntityKey entityKey)
Deprecated
as a consequence of
EventSource being deprecated.
|
| private Object | processCachedEntry(final LoadEvent event, final EntityPersister persister, final Object ce, final SessionImplementor source, final EntityKey entityKey)
Deprecated
as a consequence of
SessionImplementor being deprecated.
|
| INSTANCE | back to summary |
|---|---|
| public static final CacheEntityLoaderHelper INSTANCE | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| CacheEntityLoaderHelper | back to summary |
|---|---|
| private CacheEntityLoaderHelper() | |
| convertCacheEntryToEntity | back to summary |
|---|---|
| private Object convertCacheEntryToEntity(CacheEntry entry, Serializable entityId, EntityPersister persister, LoadEvent event, EntityKey entityKey) | |
| convertCacheReferenceEntryToEntity | back to summary |
|---|---|
| private Object convertCacheReferenceEntryToEntity(ReferenceCacheEntryImpl referenceCacheEntry, EventSource session, EntityKey entityKey)
Deprecated as a consequence of | |
| getFromSharedCache | back to summary |
|---|---|
| private Object getFromSharedCache(final LoadEvent event, final EntityPersister persister, SessionImplementor source)
Deprecated as a consequence of | |
| loadFromSecondLevelCache | back to summary |
|---|---|
| public Object loadFromSecondLevelCache(final LoadEvent event, final EntityPersister persister, final EntityKey entityKey) Attempts to load the entity from the second-level cache.
| |
| loadFromSessionCache | back to summary |
|---|---|
| public CacheEntityLoaderHelper. Attempts to locate the entity in the session-level cache. If allowed to return nulls, then if the entity happens to be found in the session cache, we check the entity type for proper handling of entity hierarchies. If checkDeleted was set to true, then if the entity is found in the session-level cache, it's current status within the session cache is checked to see if it has previously been scheduled for deletion.
| |
| makeEntityCircularReferenceSafe | back to summary |
|---|---|
| private void makeEntityCircularReferenceSafe(ReferenceCacheEntryImpl referenceCacheEntry, EventSource session, Object entity, EntityKey entityKey)
Deprecated as a consequence of | |
| processCachedEntry | back to summary |
|---|---|
| private Object processCachedEntry(final LoadEvent event, final EntityPersister persister, final Object ce, final SessionImplementor source, final EntityKey entityKey)
Deprecated as a consequence of | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CacheEntityLoaderHelper. | |
| public static final CacheEntityLoaderHelper. | |
| public static final CacheEntityLoaderHelper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CacheEntityLoaderHelper. | |
| public static CacheEntityLoaderHelper. |
| INCONSISTENT_RTN_CLASS_MARKER | back to summary |
|---|---|
| public static final CacheEntityLoaderHelper. | |
| MANAGED | back to summary |
|---|---|
| public static final CacheEntityLoaderHelper. | |
| REMOVED_ENTITY_MARKER | back to summary |
|---|---|
| public static final CacheEntityLoaderHelper. | |
| EntityStatus | back to summary |
|---|---|
| private EntityStatus() | |
| valueOf | back to summary |
|---|---|
| public static CacheEntityLoaderHelper. | |
| values | back to summary |
|---|---|
| public static CacheEntityLoaderHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private CacheEntityLoaderHelper. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public CacheEntityLoaderHelper. | |
| public boolean |
| entity | back to summary |
|---|---|
| private final Object entity | |
| status | back to summary |
|---|---|
| private CacheEntityLoaderHelper. | |
| PersistenceContextEntry | back to summary |
|---|---|
| public PersistenceContextEntry(Object entity, CacheEntityLoaderHelper. | |
| getEntity | back to summary |
|---|---|
| public Object getEntity() | |
| getStatus | back to summary |
|---|---|
| public CacheEntityLoaderHelper. | |
| isManaged | back to summary |
|---|---|
| public boolean isManaged() | |