ExportScheduler
class ExportScheduler
Traits
LogsMessagesTrait
Constants
| protected CADENCES |
|
Properties
| protected int|null | $timerId | ||
| protected int | $generation | ||
| protected array<string, int> | $intervals | ||
| protected array<string, float> | $nextDueAt |
Methods
void
start()
Start the single export timer for every active signal.
void
stop()
Stop the export timer without closing providers.
bool
shutdown()
Stop the export timer and close the provider graph.
bool
isRunning()
Determine whether the export timer is active.
string|null
handleTick(bool $isClosing)
Process one timer wake-up.
float
now()
Return monotonic milliseconds.
void
reset()
Reset scheduler-owned state.
Details
at line 37
__construct(OpenTelemetryManager $manager, Timer $timer)
Create an export scheduler.
at line 46
void
start()
Start the single export timer for every active signal.
at line 85
void
stop()
Stop the export timer without closing providers.
at line 97
bool
shutdown()
Stop the export timer and close the provider graph.
at line 107
bool
isRunning()
Determine whether the export timer is active.
at line 115
protected string|null
handleTick(bool $isClosing)
Process one timer wake-up.
at line 177
protected float
now()
Return monotonic milliseconds.
at line 185
protected void
reset()
Reset scheduler-owned state.