With the exception of repository creation, this class is thread-safe, but readers created from it are not. When creating a new repository using the {@link #create(boolean)} method, the newly constructed repository object doesnot ensure the assigned {@link #getRepositoryKey()} will be visible to allthreads. Applications are encouraged to use their own synchronization when sharing a Repository instance that was used to create a new repository.
|
|