public int increase(int retry, int wait_time)
{
int returnValue = 0;
int locking_result = LockResult.REFUSED;
int locking_attempt_count = 0;
Lock lck = new Lock(LockMode.WRITE);
do
{
locking_result = setlock(lck, retry, wait_time);
if (locking_result == LockResult.GRANTED)