Class Hibernate5BatchProcessor
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
com.atlassian.confluence.impl.user.crowd.hibernate.batch.Hibernate5BatchProcessor
- All Implemented Interfaces:
com.atlassian.crowd.util.persistence.hibernate.batch.BatchProcessor<org.hibernate.Session>
public class Hibernate5BatchProcessor
extends com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
Hibernate 5 Implementation of the BatchProcessor
- Since:
- 7.20.0
-
Field Summary
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor
batchSize, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
auditOperations
(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities) protected void
protected void
protected void
org.hibernate.Session
protected void
protected void
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor
execute, execute, setBatchSize
-
Constructor Details
-
Hibernate5BatchProcessor
public Hibernate5BatchProcessor(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
beforeProcessCollection
protected void beforeProcessCollection()- Specified by:
beforeProcessCollection
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessCollection
protected void afterProcessCollection()- Specified by:
afterProcessCollection
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessBatch
protected void beforeProcessBatch()- Specified by:
beforeProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessBatch
protected void afterProcessBatch()- Specified by:
afterProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessBatch
protected void rollbackProcessBatch()- Specified by:
rollbackProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessIndividual
protected void beforeProcessIndividual()- Specified by:
beforeProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessIndividual
protected void afterProcessIndividual()- Specified by:
afterProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessIndividual
protected void rollbackProcessIndividual()- Specified by:
rollbackProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
getSession
public org.hibernate.Session getSession()- Specified by:
getSession
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
auditOperations
protected void auditOperations(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities) - Specified by:
auditOperations
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-