public static class TransactionTemplate.Monitor.Adapter extends Object implements TransactionTemplate.Monitor
TransactionTemplate.Monitor.Adapter
Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
void |
failed(Throwable ex)
Called when the whole retry logic fails.
|
void |
failure(Throwable ex)
Called when an exception occur from the transactions.
|
void |
retrying()
Called when a retry is done.
|
public void failure(Throwable ex)
TransactionTemplate.Monitor
failure
in interface TransactionTemplate.Monitor
ex
- the exception thrown.public void failed(Throwable ex)
TransactionTemplate.Monitor
failed
in interface TransactionTemplate.Monitor
ex
- the last exception thrown when it failed.public void retrying()
TransactionTemplate.Monitor
retrying
in interface TransactionTemplate.Monitor
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.