@ProviderType public interface LogStreamProvider
PushStream
of
LogEntry
objects.Modifier and Type | Interface and Description |
---|---|
static class |
LogStreamProvider.Options
Creation options for the
PushStream of LogEntry objects. |
Modifier and Type | Method and Description |
---|---|
PushStream<LogEntry> |
createStream(LogStreamProvider.Options... options)
Create a
PushStream of LogEntry objects. |
PushStream<LogEntry> createStream(LogStreamProvider.Options... options)
PushStream
of LogEntry
objects.
The returned PushStream must:
QueuePolicyOption.DISCARD_OLDEST
queue policy
option.
When this LogStreamProvider service is released by the obtaining bundle,
this LogStreamProvider service must call PushStream.close()
on
the returned PushStream object if it has not already been closed.
options
- The options to use when creating the PushStream.PushStream
of LogEntry
objects.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0