This extension Application Programming Interface (API) contains all the necessary operations for building audit plugins for the MigratoryData server to handle audit logs/events.
A starting point on how to implement Audit extension can be found on github. The repository contains the implementation of Audit Log4j addon provided with MigratoryData Server. All the information on how to use the addon can be found on github repository.
Before reading this manual, it is recommended to read the Architecture guide.
Classes
- interface MigratoryDataAccessListener
Handle various access events, such as connect, disconnect, subscribe, and unsubscribe.- interface ConnectEvent
Provide information about the client which connects to the server. - interface DisconnectEvent
Provide information about the client which disconnects from the server. - interface SubscribeEvent
Provide information about a subscription. - interface SubscribeWithHistoryEvent
Provide information about a subscription with history. - interface SubscribeWithRecoveryEvent
Provide information about a subscription with recovery. - interface UnsubscribeEvent
Provide information about an unsubscription.
- interface ConnectEvent
- interface MigratoryDataCacheListener
Handle various cache events.- interface CacheAddEvent
Provide information about a cache entry creation. - interface CacheCleanEvent
Provide information about a cache entry deletion. - interface CacheEntry
Provide information about a cache entry. - interface CacheHistoryEvent
Provide information about a cache access by history. - interface CacheRecoveryEvent
Provide information about a cache access by recovery. - interface CacheStartEvent
Provide information about the cache creation/initialization.
- interface CacheAddEvent
- interface MigratoryDataMessageListener
Handle messages received from publishers.- interface MessageEvent
Provide information about the received message.
- interface MessageEvent
- interface MigratoryDataStatsListener
Handle various stats.- interface StatsEvent
Provide information about a stats event.
- interface StatsEvent
Contents
- AccessListener
- AccessListener::ConnectEvent
- AccessListener::DisconnectEvent
- AccessListener::SubscribeEvent
- AccessListener::SubscribeWithHistoryEvent
- AccessListener::SubscribeWithRecoveryEvent
- AccessListener::UnsubscribeEvent
- CacheListener
- CacheListener::CacheAddEvent
- CacheListener::CacheCleanEvent
- CacheListener::CacheEntry
- CacheListener::CacheHistoryEvent
- CacheListener::CacheRecoveryEvent
- CacheListener::CacheStartEvent
- MessageListener
- MessageListener::MessageEvent
- StatsListener
- StatsListener::StatsEvent