public class ProcessEventTimeline extends Object
| Constructor and Description |
|---|
ProcessEventTimeline(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(ProcessEventType state,
Date time)
Log all working and idle times.
|
double |
getTotalIdleTime(Date until) |
public void addEvent(ProcessEventType state, Date time)
type - time - end - public double getTotalIdleTime(Date until)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.