public class HaIdGeneratorFactory extends Object implements IdGeneratorFactory
| Constructor and Description |
|---|
HaIdGeneratorFactory(Master master,
Logging logging) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fs,
File fileName,
long highId) |
org.neo4j.kernel.impl.nioneo.store.IdGenerator |
get(IdType idType) |
org.neo4j.kernel.impl.nioneo.store.IdGenerator |
open(org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fs,
File fileName,
int grabSize,
IdType idType,
long highId) |
void |
switchToMaster() |
void |
switchToSlave() |
public org.neo4j.kernel.impl.nioneo.store.IdGenerator open(org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fs, File fileName, int grabSize, IdType idType, long highId)
open in interface IdGeneratorFactorypublic void create(org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fs, File fileName, long highId)
create in interface IdGeneratorFactorypublic org.neo4j.kernel.impl.nioneo.store.IdGenerator get(IdType idType)
get in interface IdGeneratorFactorypublic void switchToMaster()
public void switchToSlave()
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.