MCPcopy Create free account
hub / github.com/dgraph-io/dgraph4j / setBestEffort

Method setBestEffort

src/main/java/io/dgraph/Transaction.java:234–236  ·  view source on GitHub ↗

Sets the best effort flag for this transaction. The Best effort flag can only be set for read-only transactions, and setting the best effort flag will enable a read-only transaction to see mutations made by other transactions even if those mutations have not been committed. @param bestEffort the bo

(boolean bestEffort)

Source from the content-addressed store, hash-verified

232 * or not
233 */
234 public void setBestEffort(boolean bestEffort) {
235 asyncTransaction.setBestEffort(bestEffort);
236 }
237
238 @Override
239 public void close() {

Callers 2

withRetryMethod · 0.95
runDQLMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected