org.opends.server.loggers
Interface LoggerAlarmHandler


public interface LoggerAlarmHandler

This interface describes the handler that is invoked when the logger thread generates an alarm based on a rotation policy condition being met.


Method Summary
 void flush()
          Flush the underlying stream.
 void rollover()
          Action to take when the logger thread generates an alarm based on the rotation policy condition being met.
 void setPostRotationActions(java.util.ArrayList<ActionType> actions)
          This method sets the actions that need to be executed after rotation.
 

Method Detail

flush

void flush()
Flush the underlying stream.


rollover

void rollover()
Action to take when the logger thread generates an alarm based on the rotation policy condition being met.


setPostRotationActions

void setPostRotationActions(java.util.ArrayList<ActionType> actions)
This method sets the actions that need to be executed after rotation.

Parameters:
actions - An array of actions that need to be executed on rotation.