public class GlobalPriorityConfigurer extends Object implements BigPipePriorityConfigurer
parameter from the resource descriptor
to configure the priority.Constructor and Description |
---|
GlobalPriorityConfigurer() |
Modifier and Type | Method and Description |
---|---|
Integer |
calculatePriority(com.atlassian.plugin.elements.ResourceDescriptor resource,
Map<String,?> context)
Calculates the priority for a bigpipe component for a request.
|
@Nullable public Integer calculatePriority(@Nonnull com.atlassian.plugin.elements.ResourceDescriptor resource, @Nonnull Map<String,?> context)
BigPipePriorityConfigurer
calculatePriority
in interface BigPipePriorityConfigurer
resource
- descriptor for the bigpipe resource as defined in the plugin.context
- the request rendering context, unmodifiable.null
to use the default priority.Copyright © 2002-2022 Atlassian. All Rights Reserved.