|
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.xmlbind.NamedInfo
umontreal.iro.lecuyer.contactcenters.msk.model.CallSourceManager
umontreal.iro.lecuyer.contactcenters.msk.model.DialerManager
public class DialerManager
Manages a dialer performing outbound calls.
An object of this class encapsulates the parameters specific
to the dialer, and provides methods to construct the
corresponding Dialer
instance, and to update its state
it during simulation.
Constructor Summary | |
---|---|
DialerManager(CallCenter cc,
DialerParams par,
int k)
Constructs a new dialer manager using the call center model cc, the dialer parameters par, and dialer index k. |
Method Summary | |
---|---|
static void |
addDialerPolicyFactory(DialerPolicyFactory dpf)
Registers the dialer policy factory dpf for dialer managers. |
protected DialerPolicy |
createDialerPolicy(DialerParams par,
DialerList dialerList)
Constructs and returns an object representing the managed dialer's policy. |
CallCenter |
getCallCenter()
Returns a reference to the call center associated with this dialer manager. |
double |
getCheckedPeriodDuration()
Determines the duration, in simulation time units, of the testing periods used by some dialing policies taking cumulative statistics into account. |
Dialer |
getDialer()
Returns the dialer managed by this object. |
int[] |
getMinFreeAgentsTarget()
|
int[] |
getMinFreeAgentsTest()
|
int |
getNumCheckedPeriods()
Determines the number of testing periods used by dialing policies taking cumulative statistics (service level, mismatch rate, etc.) into account for taking their decisions. |
int |
getServiceLevelIndex()
Determines the 0-based index of the service-level information matrix used if the dialing policy in use takes service level (or acceptable waiting time) into account for its decisions. |
double |
getSlInboundThresh()
Determines the outbound-to-inbound threshold for the service level. |
double |
getSlOutboundThresh()
Determines the inbound-to-outbound threshold for the service level. |
AgentGroupSet |
getTargetSet()
Returns a reference to the target set of agent groups associated with the managed dialer. |
void |
init()
|
boolean |
isUseNumActionEvents()
Determines if the dialer subtracts the number of calls for which dialing is in progress from the number of calls to dial. |
Methods inherited from class umontreal.iro.lecuyer.contactcenters.msk.model.CallSourceManager |
---|
getSourceToggleTimes, isSourceEnabled, setSourceToggleTimes |
Methods inherited from class umontreal.iro.lecuyer.xmlbind.NamedInfo |
---|
getName, getProperties, getStringProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialerManager(CallCenter cc, DialerParams par, int k) throws DialerCreationException
cc
- the call center model.par
- the dialer's parameters.k
- the index of the dialer.
DialerCreationException
- if a problem occurs during the creation of the dialer.Method Detail |
---|
protected DialerPolicy createDialerPolicy(DialerParams par, DialerList dialerList) throws DialerCreationException
DialerParams.getDialerPolicy()
to get a type identifier for the dialer's policy.
It then retrieves parameters and initializes a dialer's policy
specific to the given type.
If the name of the dialer's policy corresponds to a constant in
DialerPolicyType
, the method handles its construction
directly.
Otherwise, it queries every factory registered using
addDialerPolicyFactory(DialerPolicyFactory)
until it finds
one factory capable of constructing the policy.
If no such factory can create the policy, it uses the
ServiceLoader
class to find a dialer's policy factory
dynamically.
If that last step fails, a dialer-creation exception is thrown.
par
- the parameters of the dialer's policy.dialerList
- the dialer's list.
DialerCreationException
- if an error occurs
during the creation of the dialer's policy.public static void addDialerPolicyFactory(DialerPolicyFactory dpf)
dpf
- the new dialer policy factory to register.public Dialer getDialer()
public int[] getMinFreeAgentsTest()
public int[] getMinFreeAgentsTarget()
public void init()
public CallCenter getCallCenter()
public AgentGroupSet getTargetSet()
public int getServiceLevelIndex()
public int getNumCheckedPeriods()
public double getCheckedPeriodDuration()
public double getSlInboundThresh()
public double getSlOutboundThresh()
public boolean isUseNumActionEvents()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |