Interface EventLogManager
- All Known Implementing Classes:
EventLogManagerImpl
public interface EventLogManager
EventLogManager.
This is the entry point to the event logger.
- Since:
- 8.2
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventLoggergetEventLogger(EmbeddedCacheManager cacheManager) replaceEventLogger(EventLogger newLogger) Replaces the event logger with the provided one.
-
Method Details
-
getEventLogger
- Returns:
- the event logger for the given
EmbeddedCacheManager - Throws:
org.infinispan.commons.IllegalLifecycleStateException- if the cache manager is not running
-
getEventLogger
EventLogger getEventLogger()- Returns:
- the event logger
-
replaceEventLogger
Replaces the event logger with the provided one.- Returns:
- the previous logger
-