summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php')
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php b/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php
new file mode 100644
index 000000000..f7e70b644
--- /dev/null
+++ b/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OpenTelemetry\SDK\Metrics;
+
+/**
+ * @internal
+ */
+interface ReferenceCounterInterface
+{
+ public function acquire(bool $persistent = false): void;
+
+ public function release(): void;
+}