Package io.helidon.webserver.observe.log
Class LogStreamConfig.BuilderBase.LogStreamConfigImpl
java.lang.Object
io.helidon.webserver.observe.log.LogStreamConfig.BuilderBase.LogStreamConfigImpl
- All Implemented Interfaces:
- Prototype.Api,- LogStreamConfig
- Enclosing class:
- LogStreamConfig.BuilderBase<BUILDER extends LogStreamConfig.BuilderBase<BUILDER,- PROTOTYPE>, - PROTOTYPE extends LogStreamConfig> 
protected static class LogStreamConfig.BuilderBase.LogStreamConfigImpl
extends Object
implements LogStreamConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.webserver.observe.log.LogStreamConfigLogStreamConfig.Builder, LogStreamConfig.BuilderBase<BUILDER extends LogStreamConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends LogStreamConfig> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedLogStreamConfigImpl(LogStreamConfig.BuilderBase<?, ?> builder) Create an instance providing a builder.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanenabled()Whether stream is enabled.booleaninthashCode()How long to wait before we send the idle message, to make sure we keep the stream alive.String sent when there are no log messages within theLogStreamConfig.idleMessageTimeout().intLength of the in-memory queue that buffers log messages from loggers before sending them over the network.toString()
- 
Constructor Details- 
LogStreamConfigImplCreate an instance providing a builder.- Parameters:
- builder- extending builder base of this prototype
 
 
- 
- 
Method Details- 
enabledpublic boolean enabled()Description copied from interface:LogStreamConfigWhether stream is enabled.- Specified by:
- enabledin interface- LogStreamConfig
- Returns:
- whether to allow streaming of log statements
 
- 
contentType- Specified by:
- contentTypein interface- LogStreamConfig
 
- 
idleMessageTimeoutDescription copied from interface:LogStreamConfigHow long to wait before we send the idle message, to make sure we keep the stream alive.- Specified by:
- idleMessageTimeoutin interface- LogStreamConfig
- Returns:
- if no messages appear within this duration, and idle message will be sent
- See Also:
 
- 
queueSizepublic int queueSize()Description copied from interface:LogStreamConfigLength of the in-memory queue that buffers log messages from loggers before sending them over the network. If the messages are produced faster than we can send them to client, excess messages are DISCARDED, and will not be sent.- Specified by:
- queueSizein interface- LogStreamConfig
- Returns:
- size of the in-memory queue for log messages
 
- 
idleStringDescription copied from interface:LogStreamConfigString sent when there are no log messages within theLogStreamConfig.idleMessageTimeout().- Specified by:
- idleStringin interface- LogStreamConfig
- Returns:
- string to write over the network when no log messages are received
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-