public class ThrottlingTaskProgressProcessor extends Object implements TaskProgressProcessor
Constructor and Description |
---|
ThrottlingTaskProgressProcessor() |
ThrottlingTaskProgressProcessor(TaskProgressProcessor taskProgressProcessor,
java.time.Clock clock) |
Modifier and Type | Method and Description |
---|---|
void |
processTaskProgress(String qName,
int entityTypeCount,
long entityCount,
long currentEntityCount)
Calculates, if a task progress sink is registered, the progress of processing the XML file.
|
public ThrottlingTaskProgressProcessor(@Nullable TaskProgressProcessor taskProgressProcessor, java.time.Clock clock)
public ThrottlingTaskProgressProcessor()
public void processTaskProgress(String qName, int entityTypeCount, long entityCount, long currentEntityCount)
processTaskProgress
in interface TaskProgressProcessor
qName
- the current top-level entity being processedentityTypeCount
- entityCount
- currentEntityCount
- Copyright © 2002-2020 Atlassian. All Rights Reserved.