AttachmentsClassLoader updates needed to enable ENT-6152 backport

Description

fixes memory leak and file handle leak issues. This fix is being backported to ENT 4.4. ENT 4.4 relies on OS core, so also need to backport from OS 4.6 to OS 4.4 some AttachmentClassLoader updates.
These are updates related to cache size and switching the cache to a caffeine based one.

Done

Assignee

Adel El-Beik

Reporter

Adel El-Beik

Labels

None

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None

Build cut

None

Squad

None