DasuStatistics

org.eso.ias.dasu.DasuStatistics
See theDasuStatistics companion object
class DasuStatistics(val dasuId: String) extends StatsCollectorBase

StasCollector generates and publish statistics of the generation of the output by the DASU.

The method updateStats is expected to be calles after each generation of the output by the DASU.

Value parameters

dasuId:

the ID of the DASU

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def logStats(): Unit

The method to log statistics, called at regular time intervals

The method to log statistics, called at regular time intervals

Attributes

Definition Classes
def updateStats(lastExecTime: Long): Unit

Endorse the passed execution time to generate statistics.

Endorse the passed execution time to generate statistics.

Value parameters

lastExecTime

the execution time (msec) taken to update the output in the last run

Attributes

Inherited methods

def cleanUp(): Unit

Stop loging statistics

Stop loging statistics

Attributes

Inherited from:
StatsCollectorBase
def start(): Unit

Start logging statistics

Start logging statistics

Attributes

Inherited from:
StatsCollectorBase

Concrete fields

val avgExecutionTime: AtomicReference[Double]

The average execution time

The average execution time

Attributes

val dasuId: String
val iterationsRun: AtomicLong

The number of iterations executed so far

The number of iterations executed so far

Attributes

val lastExecutionTime: AtomicLong

The execution time spent by the DASU to produce the last output

The execution time spent by the DASU to produce the last output

Attributes

val maxExecutionTime: AtomicLong

The max time spent by the DASU to produce the output

The max time spent by the DASU to produce the output

Attributes

val statsTimeInterval: Long

The time interval to publish statistics in msecs

The time interval to publish statistics in msecs

Attributes