コード例 #1
0
 public <T> T executeTask(final GraphCallable<T> callable, final String info) {
   logFine("calling: " + info);
   return callable.call(lifecycle.graphDb());
 }
コード例 #2
0
 public boolean isRunning() {
   return lifecycle != null && lifecycle.graphDb() != null;
 }
コード例 #3
0
 public void executeTask(final GraphRunnable runnable, final String info) {
   logFine("starting: " + info);
   runnable.run(lifecycle.graphDb());
   logFine("finishing: " + info);
 }