Java implementation of LockFreeDataStructure