Package org.hibernate.cache.spi
Interface SecondLevelCacheLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
@MessageLogger(projectCode="HHH") @ValidIdRange(min=90001001, max=90002000) public interface SecondLevelCacheLogger extends org.jboss.logging.BasicLogger
-
-
Field Summary
Fields Modifier and Type Field Description static SecondLevelCacheLoggerL2CACHE_LOGGERstatic StringLOGGER_NAMEstatic intNAMESPACE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattemptToStartAlreadyStartedCacheProvider()voidattemptToStopAlreadyStoppedCacheProvider()voidmissingCacheCreated(String regionName, String configurationPropertyToDisableKey, String configurationPropertyToDisableValue)voidnonStandardSupportForAccessType(String key, String accessType, String regionName)voidreadOnlyCachingMutableEntity(NavigableRole navigableRole)voidreadOnlyCachingMutableNaturalId(NavigableRole navigableRole)voidsoftLockedCacheExpired(String regionName, Object key)Log a message (WARN) about expiry of soft-locked region.voidusingLegacyCacheName(String currentName, String legacyName)-
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
-
-
-
Field Detail
-
LOGGER_NAME
static final String LOGGER_NAME
- See Also:
- Constant Field Values
-
L2CACHE_LOGGER
static final SecondLevelCacheLogger L2CACHE_LOGGER
-
NAMESPACE
static final int NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
attemptToStartAlreadyStartedCacheProvider
@LogMessage(level=WARN) @Message(value="Attempt to restart an already started RegionFactory. Use sessionFactory.close() between repeated calls to buildSessionFactory. Using previously created RegionFactory.", id=90001001) void attemptToStartAlreadyStartedCacheProvider()
-
attemptToStopAlreadyStoppedCacheProvider
@LogMessage(level=WARN) @Message(value="Attempt to restop an already stopped JCacheRegionFactory.", id=90001002) void attemptToStopAlreadyStoppedCacheProvider()
-
readOnlyCachingMutableEntity
@LogMessage(level=WARN) @Message(value="Read-only caching was requested for mutable entity [%s]", id=90001003) void readOnlyCachingMutableEntity(NavigableRole navigableRole)
-
readOnlyCachingMutableNaturalId
@LogMessage(level=WARN) @Message(value="Read-only caching was requested for mutable natural-id for entity [%s]", id=90001004) void readOnlyCachingMutableNaturalId(NavigableRole navigableRole)
-
softLockedCacheExpired
@LogMessage(level=INFO) @Message(value="Cache[%s] Key[%s]\nA 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) void softLockedCacheExpired(String regionName, Object key)Log a message (WARN) about expiry of soft-locked region.
-
missingCacheCreated
@LogMessage(level=WARN) @Message(value="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) void missingCacheCreated(String regionName, String configurationPropertyToDisableKey, String configurationPropertyToDisableValue)
-
usingLegacyCacheName
@LogMessage(level=WARN) @Message(value="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) void usingLegacyCacheName(String currentName, String legacyName)
-
nonStandardSupportForAccessType
@LogMessage(level=WARN) @Message(value="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) void nonStandardSupportForAccessType(String key, String accessType, String regionName)
-
-