コード例 #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);
        }
コード例 #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");
 }
コード例 #3
0
 protected internal virtual void Configure(GraphDatabaseBuilder builder)
 {
     // Let the default configuration pass through.
 }
コード例 #4
0
 public Delegator(GraphDatabaseBuilder actual) : base(null)
 {
     this.Actual = actual;
 }