Public Member Functions

alma.acs.logtools.monitor.LogNumbersListener Interface Reference

Inheritance diagram for alma.acs.logtools.monitor.LogNumbersListener:
alma.acs.logtools.monitor.file.FileStatistics alma.acs.logtools.monitor.gui.LogMonitorFrame

List of all members.

Public Member Functions

void recvLogs (int[] nums, int secs)
void totalData (TotalStatsData d)

Detailed Description

The listener of the number of logs received.

Author:
acaproni
Since:
ACS 8.1.0

Member Function Documentation

void alma.acs.logtools.monitor.LogNumbersListener.recvLogs ( int[]  nums,
int  secs 
)

Notify the listener about the number of each log type received in LogDetailsDispatcher#NUMBER_LISTENERS_INTERVAL seconds.

The array contains one integer for each log type as defined in LogTypeHelper.

This callback is executed approximately every NUMBER_LISTENERS_INTERVAL seconds.

Parameters:
nums The number of logs
msec The interval of time (seconds)

Implemented in alma.acs.logtools.monitor.file.FileStatistics, and alma.acs.logtools.monitor.gui.LogMonitorFrame.

void alma.acs.logtools.monitor.LogNumbersListener.totalData ( TotalStatsData  d  ) 

Notify the listener about the total number of logs read since the application started.

Parameters:
d The total number of logs read since the application started

Implemented in alma.acs.logtools.monitor.file.FileStatistics, and alma.acs.logtools.monitor.gui.LogMonitorFrame.


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