Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClockInterface.php

interface ClockInterface

Same name in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Common/Time/ClockInterface.php \OpenTelemetry\SDK\Common\Time\ClockInterface

Hierarchy

  • interface \OpenTelemetry\API\Common\Time\ClockInterface

Expanded class hierarchy of ClockInterface

All classes that implement ClockInterface

10 files declare their use of ClockInterface
AutoRootSpan.php in vendor/open-telemetry/sdk/Trace/AutoRootSpan.php
BatchLogRecordProcessor.php in vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php
BatchSpanProcessor.php in vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php
ClockFactory.php in vendor/open-telemetry/sdk/Common/Time/ClockFactory.php
DelayedStalenessHandlerFactory.php in vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php

... See full list

File

vendor/open-telemetry/api/Common/Time/ClockInterface.php, line 7

Namespace

OpenTelemetry\API\Common\Time
View source
interface ClockInterface {
    public const NANOS_PER_SECOND = 1000000000;
    public const NANOS_PER_MILLISECOND = 1000000;
    public const NANOS_PER_MICROSECOND = 1000;
    
    /**
     * Returns the current epoch wall-clock timestamp in nanoseconds
     */
    public function now() : int;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ClockInterface::NANOS_PER_MICROSECOND public constant
ClockInterface::NANOS_PER_MILLISECOND public constant
ClockInterface::NANOS_PER_SECOND public constant
ClockInterface::now public function Returns the current epoch wall-clock timestamp in nanoseconds 2

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal