Threading model on the agent should reflect the possibilities of Java 5

Description

Migrated from NovaTec Jira. Original ticket: INSPECTIT-1117

Currently we have a lot of synchronization in our agent and cannot use some of the new classes that just came with java 5. We still have a dependency on 1.4 basically. This ticket should concentrate on the Core service and components around it as the threading model there can be improved. Some of the improvements are:

  1. Introduce executor service and expose it for usage for the rest of the agent components (already done in )

  2. Platform refresher thread should be eliminated, as it should just be a job given to the executor service

  3. Check if preparing and sending threads can be represented as jobs

  4. Improve synchronization as we use the synchronize only in the moment

  5. Introduce Concurrent maps instead of current ones

  6. Check for other places where synchronization can be improved

Environment

None

Assignee

Ivan Senic

Reporter

Stefan Siegl

Labels

None

Integrator

Marius Oehler

Components

Sprint

None

Fix versions

Priority

High
Configure