Package com.atlassian.jira.issue.index
Class DefaultIssueBatcherFactory
java.lang.Object
com.atlassian.jira.issue.index.DefaultIssueBatcherFactory
- All Implemented Interfaces:
IssueBatcherFactory
- Since:
- v6.1
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIssueBatcherFactory
(OfBizDelegator delegator, IssueFactory issueFactory, BarrierFactory barrierFactory, ApplicationProperties applicationProperties, IssueManager issueManager) -
Method Summary
Modifier and TypeMethodDescriptiongetBatcher
(com.atlassian.jira.issue.index.IssueIdBatcher.Spy spy) getBatcher
(Collection<Long> issuesIds) Partitions prefetched issuesIds into batchesgetBatcher
(org.ofbiz.core.entity.EntityCondition condition) getBatcher
(org.ofbiz.core.entity.EntityCondition condition, com.atlassian.jira.issue.index.IssueIdBatcher.Spy spy) getBatcher
(org.ofbiz.core.entity.EntityCondition condition, com.atlassian.jira.issue.index.IssueIdBatcher.Spy spy, int batchSize)
-
Constructor Details
-
DefaultIssueBatcherFactory
public DefaultIssueBatcherFactory(OfBizDelegator delegator, IssueFactory issueFactory, BarrierFactory barrierFactory, ApplicationProperties applicationProperties, IssueManager issueManager)
-
-
Method Details
-
getBatcher
- Specified by:
getBatcher
in interfaceIssueBatcherFactory
-
getBatcher
Description copied from interface:IssueBatcherFactory
Partitions prefetched issuesIds into batches- Specified by:
getBatcher
in interfaceIssueBatcherFactory
- Parameters:
issuesIds
- prefetched issues ids.- Returns:
- Batcher that partitions prefetched issues ids into batches represented by
IssuesIterable
.
-
getBatcher
- Specified by:
getBatcher
in interfaceIssueBatcherFactory
-
getBatcher
- Specified by:
getBatcher
in interfaceIssueBatcherFactory
-
getBatcher
public IssuesBatcher getBatcher(org.ofbiz.core.entity.EntityCondition condition, com.atlassian.jira.issue.index.IssueIdBatcher.Spy spy) - Specified by:
getBatcher
in interfaceIssueBatcherFactory
-
getBatcher
public IssuesBatcher getBatcher(org.ofbiz.core.entity.EntityCondition condition, com.atlassian.jira.issue.index.IssueIdBatcher.Spy spy, int batchSize) - Specified by:
getBatcher
in interfaceIssueBatcherFactory
-