com.apama.queries
Event SetStatisticsUpdatePeriod


Control request to set the interval (seconds) between query statistics updates, i.e. how often the "Correlator Query Statistics" and "Cluster-Wide Query Statistics" dataviews are updated.

This is set by specifying two floats, the periods of time between: the instance sending per-instance update and the workers sending per-worker updates.
Constant summary
 stringNAME := "SetStatisticsUpdatePeriod"

Configuration name of statistics update period.
 
Member summary
 floatinstanceUpdatePeriod

Interval (seconds) between per-instance updates.
 floatworkerUpdatePeriod

Interval (seconds) between per-worker updates (for meaningful statistics it is recommended to set this to a value smaller than instanceUpdatePeriod).
 
Action summary
 booleanisDisabled()

Get whether statistics are disabled. Sending in an event with either field set to zero will disable query statistics.
 
Constant detail

NAME

            string NAME := "SetStatisticsUpdatePeriod"
        
Configuration name of statistics update period.
Member detail

instanceUpdatePeriod

            float instanceUpdatePeriod
        
Interval (seconds) between per-instance updates.

workerUpdatePeriod

            float workerUpdatePeriod
        
Interval (seconds) between per-worker updates (for meaningful statistics it is recommended to set this to a value smaller than instanceUpdatePeriod).
Action detail

isDisabled

            boolean isDisabled()
        
Get whether statistics are disabled. Sending in an event with either field set to zero will disable query statistics.