Installs impl
as the system-wide STM implementation if no STMImpl
has yet been chosen, or verifies that impl
is equal to the previously
selected instance, throwing IllegalStateException
if an STM
implementation has already been selected and impl != instance
Installs Class.forName(implClassName)
as the system-wide STM
implementation if no STMImpl
has yet been chosen, or verifies that
implClassName
was previously selected, throwing
IllegalStateException
if a different STM implementation has already
been selected
If no STMImpl
instance has yet been selected, installs an instance of
Class.forName(implClassName)
as the system-wide STM implementation.
If no STMImpl
instance has yet been selected, installs an instance of
Class.forName(implClassName)
as the system-wide STM implementation.
Returns true if implClassName
was newly or previously selected, or
returns false if another STM implementation was chosen.
(Since version ) see corresponding Javadoc for more information.