|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.app.CallTraceSorter.TracedCall
public static class CallTraceSorter.TracedCall
Represents a call that has been traced.
Field Summary | |
---|---|
static int |
timePrecision
|
Constructor Summary | |
---|---|
CallTraceSorter.TracedCall(int step,
int type,
int period,
double arvTime,
double queueTime,
String outcome,
int group,
double srvTime)
Constructs a new traced call using parameters. |
|
CallTraceSorter.TracedCall(String line)
Constructs a new traced call from the line line obtained from a trace file. |
Method Summary | |
---|---|
int |
compareTo(CallTraceSorter.TracedCall o)
Compares this call to another call. |
boolean |
equals(Object o)
|
double |
getArvTime()
|
int |
getGroup()
|
String |
getOutcome()
|
int |
getPeriod()
|
double |
getQueueTime()
|
double |
getSrvTime()
|
int |
getStep()
|
int |
getType()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int timePrecision
Constructor Detail |
---|
public CallTraceSorter.TracedCall(String line)
line
- the line from the trace file.
IllegalArgumentException
- if a parse error occurs.public CallTraceSorter.TracedCall(int step, int type, int period, double arvTime, double queueTime, String outcome, int group, double srvTime)
step
- the batch/replication of the call.type
- the type of the call.period
- the period of arrival of the call.arvTime
- the arrival time of the call.queueTime
- the waiting time of the call.outcome
- the outcome of the call.group
- the agent group of the served call.srvTime
- the service time of the call.Method Detail |
---|
public double getArvTime()
public int getGroup()
public String getOutcome()
public int getPeriod()
public double getQueueTime()
public double getSrvTime()
public int getStep()
public int getType()
public int compareTo(CallTraceSorter.TracedCall o)
compareTo
in interface Comparable<CallTraceSorter.TracedCall>
o
- the other call.
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |