246247248249250251252253254255256
// Commit must come after all branch access. tx.commit(); //taskExecutor.execute(branchCommitJob); branchCommitJob.run(); return getBranchResponse; } @PreAuthorize("hasPermission(#projectId, 'project', 'admin')")
378379380381382383384385386387388
} tx.commit(); //taskExecutor.execute(branchCommitJob); branchCommitJob.run(); return new BranchJobResponse(branchCommitJob); } /*
483484485486487488489490491492493
} tx.commit(); //taskExecutor.execute(branchCommitSubsetJob); branchCommitSubsetJob.run(); return new BranchJobResponse(branchCommitSubsetJob); } @PreAuthorize("hasPermission(#projectId, 'project', 'admin')")
561562563564565566567568569570571
} tx.commit(); //taskExecutor.execute(branchCommitSubsetJob); branchCommitSubsetJob.run(); return new BranchJobResponse(branchCommitSubsetJob); } }
2425262728293031
BarycenterDistanceJob job = new BarycenterDistanceJob( metaGraphService.getMetaGraph(), jobId, graph); job.run(); } }
BetweennessCentralityJob job = new BetweennessCentralityJob( metaGraphService.getMetaGraph(), jobId, graph); job.run(); } }
ClosenessCentralityJob job = new ClosenessCentralityJob( metaGraphService.getMetaGraph(), jobId, graph); job.run(); } }
EigenvectorCentralityJob job = new EigenvectorCentralityJob( metaGraphService.getMetaGraph(), jobId, graph); job.run(); } }
2526272829303132
metaGraphService.getMetaGraph(), jobId, graph, alpha); job.run(); } }
5152535455565758596061
DegreeCentralityJob job = new DegreeCentralityJob( metaGraphService.getMetaGraph(), jobId, graph); job.run(); } @Async public void faunusCountDegrees(DendriteGraph graph, JobMetadata.Id jobId) throws Exception {