Пример #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);
        }
Пример #2
0
 internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state) : this(state, false)
 {
 }
Пример #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;
 }
Пример #4
0
 protected internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state, bool impermanent) : this(state, impermanent, DatabaseInfo.COMMUNITY, CommunityEditionModule::new)
Пример #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));
        }
Пример #6
0
 protected internal TestGraphDatabaseFacadeFactory(TestGraphDatabaseFactoryState state, bool impermanent) : this(state, impermanent, DatabaseInfo.ENTERPRISE, EnterpriseEditionModule::new)
Пример #7
0
 public TestGraphDatabaseFactoryState(TestGraphDatabaseFactoryState previous) : base(previous)
 {
     _fileSystem          = previous._fileSystem;
     _internalLogProvider = previous._internalLogProvider;
     _clock = previous._clock;
 }