Interface PurgePolicy
- All Known Implementing Classes:
IdlePurgePolicy
public interface PurgePolicy
Policy for purging routed appenders
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(RoutingAppender routingAppender) Initializes with routing appendervoid
purge()
Activates purging appenders.void
-
Method Details
-
purge
void purge()Activates purging appenders. Note thatPurgePolicy
implementations are responsible for invoking this method themselves. -
update
- Parameters:
key
- routed appender keyevent
- Provides contextual information about a logged message.
-
initialize
Initializes with routing appender- Parameters:
routingAppender
- the routed appender for purging
-