ActorForwardingLogRecordExporter
in package
implements
LogRecordExporterInterface
uses
ForwardsBatchesToActor
FinalYes
Tags
Table of Contents
Interfaces
- LogRecordExporterInterface
Methods
- __construct() : mixed
- attach() : void
- export() : FutureInterface
- forceFlush() : bool
- shutdown() : bool
Methods
__construct()
public
__construct(LogRecordExporterInterface $inner[, Meter $meter = new NoopMeter() ]) : mixed
Parameters
attach()
public
attach(ActorRef<string|int, ExportCommand> $ref) : void
Parameters
- $ref : ActorRef<string|int, ExportCommand>
export()
public
export(iterable<string|int, mixed> $batch[, CancellationInterface|null $cancellation = null ]) : FutureInterface
Parameters
- $batch : iterable<string|int, mixed>
- $cancellation : CancellationInterface|null = null
Attributes
- #[Override]
Return values
FutureInterfaceforceFlush()
public
forceFlush([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Attributes
- #[Override]
Return values
boolshutdown()
public
shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Attributes
- #[Override]