diff --git a/core/src/main/kotlin/net/corda/core/messaging/CordaRPCOps.kt b/core/src/main/kotlin/net/corda/core/messaging/CordaRPCOps.kt index c2351baa4c..b2816cf04c 100644 --- a/core/src/main/kotlin/net/corda/core/messaging/CordaRPCOps.kt +++ b/core/src/main/kotlin/net/corda/core/messaging/CordaRPCOps.kt @@ -392,7 +392,11 @@ interface CordaRPCOps : RPCOps { /** Queries attachments metadata */ fun queryAttachments(query: AttachmentQueryCriteria, sorting: AttachmentSort?): List - /** 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 /** diff --git a/core/src/main/kotlin/net/corda/core/messaging/RPCOps.kt b/core/src/main/kotlin/net/corda/core/messaging/RPCOps.kt index e6aa0b79a4..e4e1416e13 100644 --- a/core/src/main/kotlin/net/corda/core/messaging/RPCOps.kt +++ b/core/src/main/kotlin/net/corda/core/messaging/RPCOps.kt @@ -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 } \ No newline at end of file