class RemoteClock extends Clock with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoteClock
  2. Clock
  3. NamedLogging
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RemoteClock(config: ClientConfig, timeouts: ProcessingTimeout, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContextExecutor)

Type Members

  1. case class Queued(action: (CantonTimestamp) => Unit, timestamp: CantonTimestamp) extends Product with Serializable
    Attributes
    protected
    Definition Classes
    Clock

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addToQueue(queue: Queued): Unit
    Attributes
    protected
    Definition Classes
    RemoteClockClock
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    RemoteClock → AutoCloseable
  8. implicit val ec: ExecutionContextExecutor
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def failTasks(): Unit
    Attributes
    protected
    Definition Classes
    Clock
  12. def flush(): Option[CantonTimestamp]
    Attributes
    protected
    Definition Classes
    Clock
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val last: AtomicReference[CantonTimestamp]
    Attributes
    protected
    Definition Classes
    Clock
  17. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. val loggerFactory: NamedLoggerFactory
    Definition Classes
    RemoteClockNamedLogging
  19. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def monotonicTime(): CantonTimestamp

    thread safe weakly monotonistic time: each timestamp will be either equal or increasing May go backwards across restarts.

    thread safe weakly monotonistic time: each timestamp will be either equal or increasing May go backwards across restarts.

    Definition Classes
    Clock
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def now: CantonTimestamp

    Potentially non-monotonistic system clock

    Potentially non-monotonistic system clock

    Never use Instant.now, use the clock (as we also support sim-clock). If you need to ensure that the clock is monotonically increasing, use the uniqueTime method instead.

    Definition Classes
    RemoteClockClock
  26. def scheduleAfter(action: (CantonTimestamp) => Unit, delta: Duration): FutureUnlessShutdown[Unit]

    thread-safely schedule an action to be executed in the future

    thread-safely schedule an action to be executed in the future

    same as other schedule method, except it expects a differential time amount

    Definition Classes
    Clock
  27. def scheduleAt(action: (CantonTimestamp) => Unit, timestamp: CantonTimestamp): FutureUnlessShutdown[Unit]

    thread-safely schedule an action to be executed in the future actions need not execute in the order of their timestamps.

    thread-safely schedule an action to be executed in the future actions need not execute in the order of their timestamps.

    action

    action to run at the given timestamp (passing in the timestamp for when the task was scheduled)

    timestamp

    timestamp when to run the task

    returns

    a future for the given task

    Definition Classes
    Clock
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val tasks: PriorityBlockingQueue[Queued]
    Attributes
    protected
    Definition Classes
    Clock
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def uniqueTime(): CantonTimestamp

    thread safe strongly monotonistic increasing time: each timestamp will be unique May go backwards across restarts.

    thread safe strongly monotonistic increasing time: each timestamp will be unique May go backwards across restarts.

    Definition Classes
    Clock
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Clock

Inherited from NamedLogging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped