Ejemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: public org.neo4j.graphdb.factory.GraphDatabaseBuilder newImpermanentDatabaseBuilder(final java.io.File storeDir)
        public virtual GraphDatabaseBuilder NewImpermanentDatabaseBuilder(File storeDir)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final TestGraphDatabaseFactoryState state = getStateCopy();
            TestGraphDatabaseFactoryState state = StateCopy;

            GraphDatabaseBuilder.DatabaseCreator creator = CreateImpermanentDatabaseCreator(storeDir, state);
            TestGraphDatabaseBuilder             builder = CreateImpermanentGraphDatabaseBuilder(creator);

            Configure(builder, storeDir);
            return(builder);
        }
Ejemplo n.º 2
0
 internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state) : this(state, false)
 {
 }
Ejemplo n.º 3
0
 protected internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state, bool impermanent, DatabaseInfo databaseInfo, System.Func <PlatformModule, AbstractEditionModule> editionFactory) : base(databaseInfo, editionFactory)
 {
     this.State       = state;
     this.Impermanent = impermanent;
 }
Ejemplo n.º 4
0
 protected internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state, bool impermanent) : this(state, impermanent, DatabaseInfo.COMMUNITY, CommunityEditionModule::new)
Ejemplo n.º 5
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: protected org.neo4j.graphdb.factory.GraphDatabaseBuilder.DatabaseCreator createImpermanentDatabaseCreator(final java.io.File storeDir, final TestGraphDatabaseFactoryState state)
        protected internal virtual GraphDatabaseBuilder.DatabaseCreator CreateImpermanentDatabaseCreator(File storeDir, TestGraphDatabaseFactoryState state)
        {
            return(new DatabaseCreatorAnonymousInnerClass(this, storeDir, state));
        }
Ejemplo n.º 6
0
 protected internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state, bool impermanent) : this(state, impermanent, DatabaseInfo.ENTERPRISE, EnterpriseEditionModule::new)
Ejemplo n.º 7
0
 public TestGraphDatabaseFactoryState(TestGraphDatabaseFactoryState previous) : base(previous)
 {
     _fileSystem          = previous._fileSystem;
     _internalLogProvider = previous._internalLogProvider;
     _clock = previous._clock;
 }