Classes | Package Functions

alma.acs.logging.LogThrottle Class Reference

List of all members.

Classes

class  LogStreamThrottle
interface  ThrottleCallback

Package Functions

 LogThrottle (LogConfig logConfig, ThrottleCallback throttleCallback)
boolean checkPublishLogRecordLocal ()
boolean checkPublishLogRecordRemote ()

Detailed Description

Process level throttle for logs.

Author:
hsommer
Since:
ACS 9.0 (see http://jira.alma.cl/browse/COMP-4541)

Constructor & Destructor Documentation

alma.acs.logging.LogThrottle.LogThrottle ( LogConfig  logConfig,
ThrottleCallback  throttleCallback 
) [package]

Constructor that takes the LogConfig object to read the throttle setting.

Parameters:
logConfig 

Member Function Documentation

boolean alma.acs.logging.LogThrottle.checkPublishLogRecordLocal (  )  [package]
Returns:
true if the log should pass, false if it should be suppressed due to throttling.

Referenced by alma.acs.logging.StdOutConsoleHandler.publish().

boolean alma.acs.logging.LogThrottle.checkPublishLogRecordRemote (  )  [package]
Returns:
true if the log should pass, false if it should be suppressed due to throttling.

Referenced by alma.acs.logging.AcsLoggingHandler.publish().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties