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

newInstance

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

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