Skip to content

sebastiandagostino/call-center-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Call Center Exercise

This exercise consists of a Call Center model where 3 types of employee work: OPERATOR, SUPERVISOR and DIRECTOR.

The main objective is to handle incoming calls and assign them to employees through a Dispatcher.

Solution

The main solution is to use threads were Employees may work (attend calls, that are just invocations to sleep methods).

In order to handle more calls than the employees can handle, they are put in a concurrent queue and wait until some employee becomes available.

There are a couple of informational logging calls left intentionally to understand the code easily while running tests.

solution

Prerequisites

Java JDK 8 and Maven are required to run the project.

Compiling

As in any Maven project, it may be required to run

mvn clean install

Author

  • Sebastian D'Agostino

About

Call Center exercise in Java with lots of thread use to model calls dispatch to employees to attend them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages