StreamCache is thread safe

Description

Add concurrent test to StreamCache and mark it as @ThreadSafe.

Although the cached FileInStream and FileOutStream are not thread safe, but the StreamCache is thread safe, which means concurrent put, get, invalidate operations won't cause damage to StreamCache.

Environment

None

Status

Assignee

Cheng Chang

Reporter

Cheng Chang

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure