Class SessionStats
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.perspective.gateway.session.SessionStats
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionUse this for timing expressions to correctly update both the session timer and the shared global timerUse this for timing scripts to correctly update both the session timer and the shared global timercom.codahale.metrics.TimerThe timer for expressions executed by this session.com.codahale.metrics.Timercom.codahale.metrics.Metercom.codahale.metrics.Metercom.codahale.metrics.Metercom.codahale.metrics.Timercom.codahale.metrics.TimerThe timer for scripts executed by this session.newBuilder(String name) Returns a builder set up with the registry and correctly prefixed namevoidCall this whenever a property changes.voidprotected voidprotected voidvoidvoidMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, shutdown, startup
- 
Constructor Details- 
SessionStats
 
- 
- 
Method Details- 
getPrefix
- 
name
- 
register
- 
newBuilderReturns a builder set up with the registry and correctly prefixed name
- 
remove
- 
getMessagesRecvpublic com.codahale.metrics.Meter getMessagesRecv()
- 
getMessagesSentpublic com.codahale.metrics.Meter getMessagesSent()
- 
getQueueTaskTimerpublic com.codahale.metrics.Timer getQueueTaskTimer()
- 
getFetchTimerpublic com.codahale.metrics.Timer getFetchTimer()
- 
getPropertyChangespublic com.codahale.metrics.Meter getPropertyChanges()
- 
notifyPropertyChangedpublic void notifyPropertyChanged()Call this whenever a property changes. Updates both the session property-change meter and the global one.
- 
notifyReconnectedpublic void notifyReconnected()
- 
getScriptTimerpublic com.codahale.metrics.Timer getScriptTimer()The timer for scripts executed by this session. See also @beginScriptTimer
- 
getExpressionTimerpublic com.codahale.metrics.Timer getExpressionTimer()The timer for expressions executed by this session. See alsobeginExpressionTimer()
- 
beginScriptTimerUse this for timing scripts to correctly update both the session timer and the shared global timer
- 
beginExpressionTimerUse this for timing expressions to correctly update both the session timer and the shared global timer
- 
onStartupprotected void onStartup()- Specified by:
- onStartupin class- AbstractLifecycle
 
- 
onShutdownprotected void onShutdown()- Specified by:
- onShutdownin class- AbstractLifecycle
 
- 
getAllMetrics
 
-