コード例 #1
0
 private PropertyStore propertyStore() {
   return graphdb
       .getGraphDatabaseAPI()
       .getDependencyResolver()
       .resolveDependency(NeoStoreDataSource.class)
       .getNeoStore()
       .getPropertyStore();
 }
コード例 #2
0
 @Before
 public void before() {
   GraphDatabaseAPI graphDatabaseAPI = dbRule.getGraphDatabaseAPI();
   this.db = graphDatabaseAPI;
   DependencyResolver dependencyResolver = graphDatabaseAPI.getDependencyResolver();
   this.bridge = dependencyResolver.resolveDependency(ThreadToStatementContextBridge.class);
   graphDatabaseAPI
       .getDependencyResolver()
       .resolveDependency(Monitors.class)
       .addMonitorListener(indexOnlineMonitor);
 }