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(Collection<Long> issuesIds) Partitions prefetched issuesIds into batchesgetBatcher(org.ofbiz.core.entity.EntityCondition condition) getBatcher(org.ofbiz.core.entity.EntityCondition condition, IssueIdBatcher.Spy spy) getBatcher(org.ofbiz.core.entity.EntityCondition condition, 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:
getBatcherin interfaceIssueBatcherFactory
-
getBatcher
Description copied from interface:IssueBatcherFactoryPartitions prefetched issuesIds into batches- Specified by:
getBatcherin interfaceIssueBatcherFactory- Parameters:
issuesIds- prefetched issues ids.- Returns:
- Batcher that partitions prefetched issues ids into batches represented by
IssuesIterable.
-
getBatcher
- Specified by:
getBatcherin interfaceIssueBatcherFactory
-
getBatcher
- Specified by:
getBatcherin interfaceIssueBatcherFactory
-
getBatcher
public IssuesBatcher getBatcher(org.ofbiz.core.entity.EntityCondition condition, IssueIdBatcher.Spy spy) - Specified by:
getBatcherin interfaceIssueBatcherFactory
-
getBatcher
public IssuesBatcher getBatcher(org.ofbiz.core.entity.EntityCondition condition, IssueIdBatcher.Spy spy, int batchSize) - Specified by:
getBatcherin interfaceIssueBatcherFactory
-