@ThreadSafe @ExperimentalApi public interface ConfluenceBigPipeManager
Modifier and Type | Interface and Description |
---|---|
static interface |
ConfluenceBigPipeManager.ConfluenceBigPipe |
Modifier and Type | Field and Description |
---|---|
static String |
BIGPIPE_MACRO_CONTEXT_FLAG |
Modifier and Type | Method and Description |
---|---|
ConfluenceBigPipeManager.ConfluenceBigPipe |
consume()
This method is very similar to
getRequestBigPipe() ,
but this method also deletes ConfluenceBigPipeManager.ConfluenceBigPipe from request cache. |
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.
|
static final String BIGPIPE_MACRO_CONTEXT_FLAG
boolean isBigPipeEnabled()
ConfluenceBigPipeManager.ConfluenceBigPipe getRequestBigPipe()
void macroExecutionStarted()
ConfluenceBigPipeManager
about execution context.
macroExecutionStarted()
should be called at the beginning of macro execution,
and macroExecutionFinished()
should be called right after macro execution is
finished. These methods are used in ViewMacroMarshaller
.
boolean isNestedExecution()
true
if any macro is executing at the moment, false
otherwise.void macroExecutionFinished()
ConfluenceBigPipeManager
about execution context.
macroExecutionStarted()
should be called at the beginning of macro execution,
and macroExecutionFinished()
should be called right after macro execution is
finished. These methods are used in ViewMacroMarshaller
.
ConfluenceBigPipeManager.ConfluenceBigPipe consume()
getRequestBigPipe()
,
but this method also deletes ConfluenceBigPipeManager.ConfluenceBigPipe
from request cache.Copyright © 2003–2018 Atlassian. All rights reserved.