Java Reference
In-Depth Information
Thread-confined. A thread-confined object is owned exclusively by and confined to one
thread, and can be modifled by its owning thread.
Shared read-only. A shared read-only object can be accessed concurrently by multiple
threads without additional synchronization, but cannot be modified by any thread.
Shared read-only objects include immutable and effectively immutable objects.
Shared thread-safe. A thread-safe object performs synchronization internally, so multiple
threads can freely access it through its public interface without further synchroniza-
tion.
Guarded. A guarded object can be accessed only with a specific lock held. Guarded ob-
jects include those that are encapsulated within other thread-safe objects and pub-
lished objects that are known to be guarded by a specific lock.
Search WWH ::




Custom Search