org.neo4j.kernel.impl.persistence
Class IdGeneratorModule
java.lang.Object
org.neo4j.kernel.impl.persistence.IdGeneratorModule
public class IdGeneratorModule
- extends Object
This class represents the IdGenerator module. It receives lifecycle
events from the module framework and supports configuration of the
IdGenerator.
Generally, configuration of the IdGenerator must be done before the first
invocation of the start() method. This is because the IdGenerator does
not currently support the modular start/stop/reload operations and there is
no way to guarantee consistent behavior if the IdGenerator is not halted
during reconfiguration.
- See Also:
IdGenerator
IdGeneratorModule
public IdGeneratorModule(EntityIdGenerator idGenerator)
getIdGenerator
public EntityIdGenerator getIdGenerator()
init
public void init()
start
public void start()
reload
public void reload()
stop
public void stop()
destroy
public void destroy()
getModuleName
public String getModuleName()
setPersistenceSourceInstance
public void setPersistenceSourceInstance(PersistenceSource source)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.