public class BigPipeFlusher extends Object
Constructor and Description |
---|
BigPipeFlusher(ConfluenceBigPipeManager bigPipeManager,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
DeferredMarshallerMetricsAnalyticsEventPublisher deferredMarshallerMetricsAnalyticsEventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
executeDeferredMacros()
Method kicks execution of all deferred macros.
|
void |
flush(PrintWriter writer)
Flush deferred macros output to the writer.
|
public BigPipeFlusher(ConfluenceBigPipeManager bigPipeManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, DeferredMarshallerMetricsAnalyticsEventPublisher deferredMarshallerMetricsAnalyticsEventPublisher)
public void executeDeferredMacros()
IllegalStateException
thrown
by ConfluenceBigPipeManager
, so is safe for invocation out
of scope of http request.public void flush(PrintWriter writer) throws IOException
writer
- destination streamIOException
Copyright © 2003–2016 Atlassian. All rights reserved.