public class DefaultConfluenceBigPipeManager extends Object implements ConfluenceBigPipeManager
ConfluenceBigPipeManager.ConfluenceBigPipe
Constructor and Description |
---|
DefaultConfluenceBigPipeManager(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
DarkFeaturesManager darkFeaturesManager) |
Modifier and Type | Method and Description |
---|---|
ConfluenceBigPipeManager.ConfluenceBigPipe |
consume() |
ConfluenceBigPipeManager.ConfluenceBigPipe |
getRequestBigPipe()
Returns the BigPipe instance for the current request.
|
boolean |
isBigPipeEnabled()
Returns true if BigPipe is available for use.
|
boolean |
isNestedExecution()
Returns
true if any macro is executing at the moment, false otherwise. |
void |
macroExecutionFinished()
Macro may be executed in a body of another macro.
|
void |
macroExecutionStarted()
Macro may be executed in a body of another macro.
|
public DefaultConfluenceBigPipeManager(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, DarkFeaturesManager darkFeaturesManager)
public boolean isBigPipeEnabled()
ConfluenceBigPipeManager
isBigPipeEnabled
in interface ConfluenceBigPipeManager
public ConfluenceBigPipeManager.ConfluenceBigPipe getRequestBigPipe()
ConfluenceBigPipeManager
getRequestBigPipe
in interface ConfluenceBigPipeManager
public void macroExecutionStarted()
ConfluenceBigPipeManager
ConfluenceBigPipeManager
about execution context.
ConfluenceBigPipeManager.macroExecutionStarted()
should be called at the beginning of macro execution,
and ConfluenceBigPipeManager.macroExecutionFinished()
should be called right after macro execution is
finished. These methods are used in ViewMacroMarshaller
.macroExecutionStarted
in interface ConfluenceBigPipeManager
public boolean isNestedExecution()
ConfluenceBigPipeManager
true
if any macro is executing at the moment, false
otherwise.isNestedExecution
in interface ConfluenceBigPipeManager
public void macroExecutionFinished()
ConfluenceBigPipeManager
ConfluenceBigPipeManager
about execution context.
ConfluenceBigPipeManager.macroExecutionStarted()
should be called at the beginning of macro execution,
and ConfluenceBigPipeManager.macroExecutionFinished()
should be called right after macro execution is
finished. These methods are used in ViewMacroMarshaller
.macroExecutionFinished
in interface ConfluenceBigPipeManager
public ConfluenceBigPipeManager.ConfluenceBigPipe consume()
consume
in interface ConfluenceBigPipeManager
Copyright © 2003–2015 Atlassian. All rights reserved.