mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
Merge pull request #7228 from corda/cc/ent-6913/kdocs_update_quick_rpc
ENT-6913 - Updated KDoc for quick RPCs
This commit is contained in:
commit
ed94752680
@ -392,7 +392,11 @@ interface CordaRPCOps : RPCOps {
|
||||
/** Queries attachments metadata */
|
||||
fun queryAttachments(query: AttachmentQueryCriteria, sorting: AttachmentSort?): List<AttachmentId>
|
||||
|
||||
/** Returns the node's current time. */
|
||||
/** Returns the node's current time.
|
||||
*
|
||||
* Is a quick RPC, meaning that it is handled outside the node's standard thread pool in order to provide a
|
||||
* quick response even when the node is dealing with a high volume of RPC calls.
|
||||
*/
|
||||
fun currentNodeTime(): Instant
|
||||
|
||||
/**
|
||||
|
@ -8,6 +8,10 @@ import net.corda.core.DoNotImplement
|
||||
*/
|
||||
@DoNotImplement
|
||||
interface RPCOps {
|
||||
/** Returns the RPC protocol version. Exists since version 0 so guaranteed to be present. */
|
||||
/** Returns the RPC protocol version. Exists since version 0 so guaranteed to be present.
|
||||
*
|
||||
* Getting this property is handled as a quick RPC, meaning that it is handled outside the node's standard
|
||||
* thread pool in order to provide a quick response even when the node is dealing with a high volume of RPC calls.
|
||||
*/
|
||||
val protocolVersion: Int
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user