|
i implemented the solution for the case with .
setLockMode( LockMode.NONE )
checking
lockOptions.getAliasLockCount() == 1 && lockOptions
.getAliasSpecificLockMode( "this_" ) == LockMode.NONE
Not sure if it's worthwhile to consider the case of
setLockMode(String alias, LockMode lockMode);
in this case probably is necessary to iterate the lockOptions checking all the aliases have LockMode.NONE.
|