org.neo4j.kernel.impl.nioneo.store
Interface IdGenerator
- All Known Implementing Classes:
- IdGeneratorImpl, ReadOnlyIdGenerator, SlaveIdGenerator
public interface IdGenerator
nextId
long nextId()
nextIdBatch
IdRange nextIdBatch(int size)
setHighId
void setHighId(long id)
getHighId
long getHighId()
freeId
void freeId(long id)
close
void close(boolean shutdown)
- Closes the id generator.
- Parameters:
shutdown - true if this is during shutdown of the database, false
if it's an intermediary close, f.ex after rebuilding id generators at startup.
getNumberOfIdsInUse
long getNumberOfIdsInUse()
getDefragCount
long getDefragCount()
delete
void delete()
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.