|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContactTrace
Represents an object capable of creating a contact-by-contact trace. The format and location of the produced trace depends on the implementation.
The tracing facility is used as follows.
An
implementation of this interface is initialized at the beginning of the
simulation using the init()
method.
Each time a contact is processed, the
writeLine(int,int,int,double,double,String,int,double)
method is called by some listener.
At the end of the simulation, the close()
method is called to close the file or database connection the trace
is sent to.
Field Summary | |
---|---|
static String |
OUTCOME_ABANDONED
|
static String |
OUTCOME_BLOCKED
|
static String |
OUTCOME_FAILED
|
static String |
OUTCOME_SERVED
|
Method Summary | |
---|---|
void |
close()
Closes the trace facility after a simulation. |
void |
init()
Initializes the tracing mechanism. |
void |
writeLine(int step,
int type,
int period,
double arvTime,
double queueTime,
String outcome,
int group,
double srvTime)
Writes a new line in the trace representing a simulated contact. |
Field Detail |
---|
static final String OUTCOME_BLOCKED
static final String OUTCOME_ABANDONED
static final String OUTCOME_SERVED
static final String OUTCOME_FAILED
Method Detail |
---|
void init()
void close()
void writeLine(int step, int type, int period, double arvTime, double queueTime, String outcome, int group, double srvTime)
Double.NaN
if the information does not exist. For example,
a blocked or abandoned call does not have a serving agent group, or
a service time.
step
- the step, in the experiment, during which the call occurred.type
- the type of the call.period
- the period of arrival of the call.arvTime
- the arrival time.queueTime
- the time spent by the call in the queue.outcome
- the outcome of the call.group
- the group of the serving agent.srvTime
- the service time of the call.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |