public class QueueStats extends Object implements Serializable
| Constructor and Description |
|---|
QueueStats(String title)
Initialize this queue snapshot with a specified title.
|
| Modifier and Type | Method and Description |
|---|---|
QueueStats |
copy()
Make a copy of this queue stats object.
|
StatsSnapshot |
getSizes()
Get the sizes snapshot.
|
StatsSnapshot |
getTimes()
Get the time snapshot.
|
String |
getTitle()
Get the title.
|
void |
setSizes(StatsSnapshot sizes)
Set the sizes snapshot.
|
void |
setTimes(StatsSnapshot times)
Set the time snapshot.
|
String |
toString() |
public QueueStats(String title)
title - the title for this snapshot.public StatsSnapshot getTimes()
StatsSnapshot instance.public void setSizes(StatsSnapshot sizes)
sizes - a StatsSnapshot instance.public StatsSnapshot getSizes()
StatsSnapshot instance.public void setTimes(StatsSnapshot times)
times - a StatsSnapshot instance.public String getTitle()
public QueueStats copy()
QueueStats instance.Copyright © 2005-2012 JPPF Team.