Toggle navigation
Home
org.neo4j.kernel.GraphDatabaseAPI to org.neo4j.kernel.ha.HighlyAvailableGraphDatabase
No. of Instances - 7
No. of Commits - 3
No. of Projects - {'neo4j'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Other
0
to
nodeId
Update Class Instacne Creation
new FutureTask<>(new Callable<Boolean>(){ @Override public Boolean call() throws Exception { try (Transaction tx=slave.beginTx()){ tx.acquireWriteLock(slave.getNodeById(nodeId)); return false; } catch ( Exception e) { return true; } } } )
to
new FutureTask<>(new Callable<Boolean>(){ @Override public Boolean call() throws Exception { try (Transaction tx=slave.beginTx()){ tx.acquireWriteLock(slave.getNodeById(nodeId)); } catch ( ComException e) { return e.getCause() instanceof TransactionFailureException; } return false; } } )