mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Updated KDoc for quick RPCs
This commit is contained in:
parent
6d0875076f
commit
14e2ef3478
@ -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…
Reference in New Issue
Block a user