-
public final class JsonRpcHistory
-
-
Constructor Summary
Constructors Constructor Description JsonRpcHistory(JsonRpcHistoryQueries jsonRpcHistoryQueries, Logger logger)
-
Method Summary
Modifier and Type Method Description final BooleansetRequest(Long requestId, Topic topic, String method, String payload, TransportType transportType)final JsonRpcHistoryRecordupdateRequestWithResponse(Long requestId, String response)final UnitdeleteRecordsByTopic(Topic topic)final UnitdeleteRecordById(Long id)final List<JsonRpcHistoryRecord>getListOfPendingRecordsByTopic(Topic topic)final List<JsonRpcHistoryRecord>getListOfPendingRecords()final JsonRpcHistoryRecordgetPendingRecordById(Long id)final JsonRpcHistoryRecordgetRecordById(Long id)-
-
Constructor Detail
-
JsonRpcHistory
JsonRpcHistory(JsonRpcHistoryQueries jsonRpcHistoryQueries, Logger logger)
-
-
Method Detail
-
setRequest
final Boolean setRequest(Long requestId, Topic topic, String method, String payload, TransportType transportType)
-
updateRequestWithResponse
final JsonRpcHistoryRecord updateRequestWithResponse(Long requestId, String response)
-
deleteRecordsByTopic
final Unit deleteRecordsByTopic(Topic topic)
-
deleteRecordById
final Unit deleteRecordById(Long id)
-
getListOfPendingRecordsByTopic
final List<JsonRpcHistoryRecord> getListOfPendingRecordsByTopic(Topic topic)
-
getListOfPendingRecords
final List<JsonRpcHistoryRecord> getListOfPendingRecords()
-
getPendingRecordById
final JsonRpcHistoryRecord getPendingRecordById(Long id)
-
getRecordById
final JsonRpcHistoryRecord getRecordById(Long id)
-
-
-
-