Added storage access time watching feature

Why do you use AtomicCounter in _generate_id() although you take a mutex?