public class GridTimer extends Object
Constructor and Description |
---|
GridTimer(String name) |
GridTimer(String name,
long threshold) |
public GridTimer(String name)
name
- Timer name.public GridTimer(String name, long threshold)
name
- Timer name.threshold
- Max duration threshold.public long stop()
public boolean stopx()
True
if didn't max out.public boolean maxedOut()
True
if maxed out.public long duration()
public long endTime()
-1
if not stopped).public long startTime()
public long threshold()
public String name()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017