try to execute a workload with a custom retry strategy . concode_field_sep long DEFAULT_DELAY_MS concode_elem_sep Function<Graph,R> workToDo concode_elem_sep Graph g concode_elem_sep int DEFAULT_TRIES concode_field_sep void rollback concode_elem_sep IllegalArgumentException onCloseBehaviorCannotBeNull concode_elem_sep Workload<R> submit concode_elem_sep IllegalStateException transactionAlreadyOpen concode_elem_sep void commit concode_elem_sep R exponentialBackoff concode_elem_sep R exponentialBackoff concode_elem_sep R exponentialBackoff concode_elem_sep R exponentialBackoff concode_elem_sep IllegalArgumentException onReadWriteBehaviorCannotBeNull concode_elem_sep void accept concode_elem_sep void accept concode_elem_sep void accept concode_elem_sep void accept concode_elem_sep void accept concode_elem_sep Transaction onReadWrite concode_elem_sep R oneAndDone concode_elem_sep Transaction onClose concode_elem_sep boolean isOpen concode_elem_sep UnsupportedOperationException threadedTransactionsNotSupported concode_elem_sep IllegalStateException openTransactionsOnClose concode_elem_sep R fireAndForget concode_elem_sep IllegalStateException transactionMustBeOpenToReadWrite concode_elem_sep G create concode_elem_sep void readWrite concode_elem_sep void close concode_elem_sep void open concode_elem_sep R retry concode_elem_sep R retry concode_elem_sep R retry concode_elem_sep R retry concode_elem_sep BiFunction<Graph,Function<Graph,R>,R> retry
R function ( final BiFunction < Graph , Function < Graph , R > , R > arg0 ) { return arg0 . apply ( g , workToDo ) ; }