corda / net.corda.core.context / Trace / InvocationId

InvocationId

class InvocationId : Id<String>

Represents id and timestamp of an invocation.

Constructors

<init>

Represents id and timestamp of an invocation.

InvocationId(value: String, timestamp: Instant)

Companion Object Functions

newInstance

Creates an invocation id using a java.util.UUID as value and Instant.now as timestamp.

fun newInstance(value: String = UuidGenerator.next().toString(), timestamp: Instant = Instant.now()): InvocationId