class Event
Same name in this branch
- 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php \Opentelemetry\Proto\Trace\V1\Span\Event
- 11.1.x vendor/composer/composer/src/Composer/Script/Event.php \Composer\Script\Event
- 11.1.x vendor/composer/composer/src/Composer/EventDispatcher/Event.php \Composer\EventDispatcher\Event
- 11.1.x vendor/symfony/event-dispatcher-contracts/Event.php \Symfony\Contracts\EventDispatcher\Event
- 11.1.x core/lib/Drupal/Component/EventDispatcher/Event.php \Drupal\Component\EventDispatcher\Event
Hierarchy
- class \OpenTelemetry\SDK\Trace\Event implements \OpenTelemetry\SDK\Trace\EventInterface
Expanded class hierarchy of Event
3 string references to 'Event'
- DatabaseBackend::schemaDefinition in core/
lib/ Drupal/ Core/ Flood/ DatabaseBackend.php - Defines the schema for the flood table.
- EventDriver::isSupported in vendor/
revolt/ event-loop/ src/ EventLoop/ Driver/ EventDriver.php - PerformanceTestRecorder::onRouteBuilderFinish in core/
lib/ Drupal/ Core/ Test/ PerformanceTestRecorder.php - Records a router rebuild.
File
-
vendor/
open-telemetry/ sdk/ Trace/ Event.php, line 10
Namespace
OpenTelemetry\SDK\TraceView source
final class Event implements EventInterface {
public function __construct(string $name, int $timestamp, AttributesInterface $attributes) {
}
public function getAttributes() : AttributesInterface {
return $this->attributes;
}
public function getName() : string {
return $this->name;
}
public function getEpochNanos() : int {
return $this->timestamp;
}
public function getTotalAttributeCount() : int {
return count($this->attributes);
}
public function getDroppedAttributesCount() : int {
return $this->attributes
->getDroppedAttributesCount();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Event::getAttributes | public | function | Overrides EventInterface::getAttributes | |
Event::getDroppedAttributesCount | public | function | ||
Event::getEpochNanos | public | function | Overrides EventInterface::getEpochNanos | |
Event::getName | public | function | Overrides EventInterface::getName | |
Event::getTotalAttributeCount | public | function | Overrides EventInterface::getTotalAttributeCount | |
Event::__construct | public | function |