Esempio n. 1
0
        /// <param name="storeDir"> desired embedded database store dir </param>
        public virtual GraphDatabaseBuilder NewEmbeddedDatabaseBuilder(File storeDir)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final GraphDatabaseFactoryState state = getStateCopy();
            GraphDatabaseFactoryState state = StateCopy;

            GraphDatabaseBuilder.DatabaseCreator creator = CreateDatabaseCreator(storeDir, state);
            GraphDatabaseBuilder builder = CreateGraphDatabaseBuilder(creator);

            Configure(builder);
            return(builder);
        }
Esempio n. 2
0
 protected internal override void Configure(GraphDatabaseBuilder builder)
 {
     base.Configure(builder);
     builder.Config = ClusterManager.CONFIG_FOR_SINGLE_JVM_CLUSTER;
     builder.SetConfig(GraphDatabaseSettings.StoreInternalLogLevel, "DEBUG");
 }
Esempio n. 3
0
 protected internal virtual void Configure(GraphDatabaseBuilder builder)
 {
     // Let the default configuration pass through.
 }
Esempio n. 4
0
 public Delegator(GraphDatabaseBuilder actual) : base(null)
 {
     this.Actual = actual;
 }