4849505152535455565758
public void run(final SocialGraph graph) { final Transaction transaction = graph.beginTx(); if (this.execute(graph)) { transaction.success(); } transaction.finish(); this.servlet.finish(); } /** * operation execution to be implemented by the social graph
6768697071727374757677
try { NeoUtils.createStatusUpdateNode(statusUpdateId); transaction.success(); } finally { transaction.finish(); } } @BeforeClass public static void beforeClass() {
7172737475767778798081
USERS[i].setProperty(Properties.User.PROFILE_PICTURE_PATH, "google.de/somepic"); } transaction.success(); } finally { transaction.finish(); } } public static void setUp() { final TestConfiguration config = new TestConfiguration();
125126127128129130131132133134135
NeoUtils.storeStatusUpdateTemplateNode(graphDatabase, template.getName(), templateNode, previousTemplateNode); transaction.success(); } finally { transaction.finish(); } } /** * load the status update allowed
100101102103104105106107108109110
fromrecord = torecord; } // Commit transaction tx.success(); tx.finish(); } public static void main(String[] args) throws IOException, FunctionEvaluationException { // Retrieve all GPX files to import
6970717273747576777879
System.out.println( "TOTAL TIME: "+endTime + " AVG TIME: "+endTime/27 ); tx.success(); } finally { tx.finish(); } } @AfterClass
8384858687888990919293
} tx.success(); } finally { tx.finish(); } } private void connectHubs( List<Hub> hubList1, List<Hub> hubList2 ) {
133134135136137138139140141142143
System.out.println( "Walk Relationships: " + count ); tx.success(); } finally { tx.finish(); } } /** * Connect Hubs to a transfer hub
170171172173174175176177178179180
transferFromHubTransfer( hubTransfer2, hub1 ); tx.success(); } finally { tx.finish(); } } /** * hub1---(transfer2)-->hubTransfer1
212213214215216217218219220221
} tx.success(); } finally { tx.finish(); } } } }