public class Metrics extends Object
Modifier and Type | Field and Description |
---|---|
long |
dequeued
The number of runnable tasks that have been removed from the queue
and executed.
|
long |
durationNS
How long the metrics gathered
|
long |
enqueued
The number of runnable tasks queued.
|
long |
maxRunTimeNS
The long amount of time a runnable task spent executing in nanoseconds.
|
long |
maxWaitTimeNS
The longest amount of time at runnable task spent waiting in
the queue.
|
DispatchQueue |
queue
The dispatch queue associated with the metrics collected.
|
long |
totalRunTimeNS
The sum of all the time spent executing tasks in nanoseconds.
|
long |
totalWaitTimeNS
The sum of all the time that tasks spent waiting in the queue in nanoseconds.
|
Constructor and Description |
---|
Metrics() |
public long durationNS
public DispatchQueue queue
public long enqueued
public long dequeued
public long maxWaitTimeNS
public long maxRunTimeNS
public long totalRunTimeNS
public long totalWaitTimeNS
public Metrics()
Copyright © 2010–2017 FuseSource, Corp.. All rights reserved.