replace lock with AtomicLong for increment a long value