Top Fields Methods
org.hibernate.cache.spi

public Interface SecondLevelCacheLogger

extends BasicLogger
Annotations
@MessageLogger
projectCode:HHH
@ValidIdRange
min:90001001
max:90002000
@SubSystemLogging
name:org.hibernate.orm.cache
description:Logging related to Hibernate second-level caching
Imports
org.hibernate.internal.log.SubSystemLogging, org.hibernate.metamodel.model.domain.NavigableRole, org.jboss.logging.BasicLogger, .Logger, org.jboss.logging.annotations.LogMessage, .Message, .MessageLogger, .ValidIdRange

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final SecondLevelCacheLogger
public static final String
public static final int

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
missingCacheCreated(String regionName, String configurationPropertyToDisableKey, String configurationPropertyToDisableValue)

public void
nonStandardSupportForAccessType(String key, String accessType, String regionName)

public void
public void
public void
softLockedCacheExpired(String regionName, Object key)

Log a message (WARN) about expiry of soft-locked region.

public void
usingLegacyCacheName(String currentName, String legacyName)

Inherited from org.jboss.logging.BasicLogger:
debugdebugdebugdebugdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugfdebugvdebugvdebugvdebugvdebugvdebugvdebugvdebugverrorerrorerrorerrorerrorferrorferrorferrorferrorferrorferrorferrorferrorverrorverrorverrorverrorverrorverrorverrorvfatalfatalfatalfatalfatalffatalffatalffatalffatalffatalffatalffatalffatalvfatalvfatalvfatalvfatalvfatalvfatalvfatalvinfoinfoinfoinfoinfofinfofinfofinfofinfofinfofinfofinfofinfovinfovinfovinfovinfovinfovinfovinfovisDebugEnabledisEnabledisInfoEnabledisTraceEnabledlogloglogloglogflogflogflogflogflogflogflogflogflogflogflogflogvlogvlogvlogvlogvlogvlogvlogvlogvlogvlogvlogvtracetracetracetracetraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftraceftracevtracevtracevtracevtracevtracevtracevtracevwarnwarnwarnwarnwarnfwarnfwarnfwarnfwarnfwarnfwarnfwarnfwarnvwarnvwarnvwarnvwarnvwarnvwarnvwarnv

Field Detail

L2CACHE_LOGGERback to summary
public static final SecondLevelCacheLogger L2CACHE_LOGGER
LOGGER_NAMEback to summary
public static final String LOGGER_NAME
NAMESPACEback to summary
public static final int NAMESPACE

Method Detail

attemptToStartAlreadyStartedCacheProviderback to summary
public void attemptToStartAlreadyStartedCacheProvider()
Annotations
@LogMessage
level:WARN
@Message:Attempt to restart an already started RegionFactory. Use sessionFactory.close() between repeated calls to buildSessionFactory. Using previously created RegionFactory.
id:90001001
attemptToStopAlreadyStoppedCacheProviderback to summary
public void attemptToStopAlreadyStoppedCacheProvider()
Annotations
@LogMessage
level:WARN
@Message:Attempt to restop an already stopped JCacheRegionFactory.
id:90001002
missingCacheCreatedback to summary
public void missingCacheCreated(String regionName, String configurationPropertyToDisableKey, String configurationPropertyToDisableValue)
Annotations
@LogMessage
level:WARN
@Message:Missing cache[%1$s] was created on-the-fly. The created cache will use a provider-specific default configuration: make sure you defined one. You can disable this warning by setting \'%2$s\' to \'%3$s\'.
id:90001006
nonStandardSupportForAccessTypeback to summary
public void nonStandardSupportForAccessType(String key, String accessType, String regionName)
Annotations
@LogMessage
level:WARN
@Message:Cache [%1$s] uses the [%2$s] access type, but [%3$s] does not support it natively. Make sure your cache implementation supports JTA transactions.
id:90001008
readOnlyCachingMutableEntityback to summary
public void readOnlyCachingMutableEntity(NavigableRole navigableRole)
Annotations
@LogMessage
level:WARN
@Message:Read-only caching was requested for mutable entity [%s]
id:90001003
readOnlyCachingMutableNaturalIdback to summary
public void readOnlyCachingMutableNaturalId(NavigableRole navigableRole)
Annotations
@LogMessage
level:WARN
@Message:Read-only caching was requested for mutable natural-id for entity [%s]
id:90001004
softLockedCacheExpiredback to summary
public void softLockedCacheExpired(String regionName, Object key)

Log a message (WARN) about expiry of soft-locked region.

Annotations
@LogMessage
level:INFO
@Message:Cache[%s] Key[%s] A soft-locked cache entry was expired by the underlying cache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limits
id:90001005
usingLegacyCacheNameback to summary
public void usingLegacyCacheName(String currentName, String legacyName)
Annotations
@LogMessage
level:WARN
@Message:Using legacy cache name [%2$s] because configuration could not be found for cache [%1$s]. Update your configuration to rename cache [%2$s] to [%1$s].
id:90001007