atomicTransaction.begin();
if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
{
atomicTransaction.commit(true);
}
else
{
System.err.println("AITCounterImpl04.AITCounterImpl04: failed to get lock");
atomicTransaction.rollback();