Definition of an interface for objects that can be associated with a {@link Synchronizer}.
This interface defines methods for querying and setting the {@code Synchronizer}. In addition, it is possible to lock the object for a certain operation. This is useful if some complex operations are to be performed on the {@code SynchronizerSupport} object in an atomic way.
Note that the actual effect of these methods depends on the concrete {@code Synchronizer} implementation in use! If only a dummy{@code Synchronizer} is involved (which is appropriate if objects are onlyaccessed by a single thread), locking an object does not really prohibit concurrent access.
@version $Id: SynchronizerSupport.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|