| 程序包 | 说明 |
|---|---|
| com.peersafe.base.client.requests | |
| com.peersafe.base.client.transactions |
| 限定符和类型 | 字段和说明 |
|---|---|
Response |
Request.response |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
Request.Builder.buildTypedResponse(Response response) |
abstract void |
Request.Manager.cb(Response response,
T t) |
void |
Operation.cb(Response response,
T t) |
boolean |
Request.Manager.retryOnUnsuccessful(Response r) |
boolean |
Operation.retryOnUnsuccessful(Response r) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
ManagedTxn.finalizedOrResponseIsToPriorSubmission(Response res)
finalizedOrResponseIsToPriorSubmission
|
void |
TransactionManager.handleSubmitError(ManagedTxn txn,
Response res)
handleSubmitError
|
void |
TransactionManager.handleSubmitSuccess(ManagedTxn txn,
Response res)
We handle various transaction engine results specifically and then by
class of result.
|
boolean |
ManagedTxn.responseWasToLastSubmission(Response res)
responseWasToLastSubmission
|
| 限定符和类型 | 方法和说明 |
|---|---|
ManagedTxn |
ManagedTxn.onError(Publisher.Callback<Response> cb)
On error.
|
Copyright © 2021. All rights reserved.