AbstractDecorator
in package
uses
SpanExporterDecoratorTrait
AbstractYes
Table of Contents
Properties
Methods
- export() : FutureInterface<string|int, bool>
- forceFlush() : bool
- setDecorated() : void
- shutdown() : bool
- afterExport() : void
- beforeExport() : iterable<string|int, mixed>
Properties
$decorated
protected
SpanExporterInterface
$decorated
Methods
export()
public
export(iterable<string|int, SpanDataInterface> $batch[, CancellationInterface|null $cancellation = null ]) : FutureInterface<string|int, bool>
Parameters
- $batch : iterable<string|int, SpanDataInterface>
- $cancellation : CancellationInterface|null = null
Return values
FutureInterface<string|int, bool>forceFlush()
public
forceFlush([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Return values
boolsetDecorated()
public
setDecorated(SpanExporterInterface $decorated) : void
Parameters
- $decorated : SpanExporterInterface
shutdown()
public
shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Return values
boolafterExport()
protected
abstract afterExport(iterable<string|int, mixed> $spans, bool $exportSuccess) : void
Parameters
- $spans : iterable<string|int, mixed>
- $exportSuccess : bool
beforeExport()
protected
abstract beforeExport(iterable<string|int, mixed> $spans) : iterable<string|int, mixed>
Parameters
- $spans : iterable<string|int, mixed>