Package net.officefloor.jpa.test
Class AbstractJpaTestCase.StressInsertSection
java.lang.Object
net.officefloor.jpa.test.AbstractJpaTestCase.StressInsertSection
- Enclosing class:
- AbstractJpaTestCase
Test fixture section for stress insert.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFlow interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(jakarta.persistence.EntityManager entityManager, AbstractJpaTestCase.StressInsertSection.Flows flows) Runs the stress insert.voidthread(jakarta.persistence.EntityManager entityManager, AbstractJpaTestCase.NewThread thread) Handles the thread flow for stress insert.
-
Constructor Details
-
StressInsertSection
public StressInsertSection()
-
-
Method Details
-
run
public void run(jakarta.persistence.EntityManager entityManager, AbstractJpaTestCase.StressInsertSection.Flows flows) throws Exception Runs the stress insert.- Parameters:
entityManager-EntityManager.flows-AbstractJpaTestCase.StressInsertSection.Flows.- Throws:
Exception- On failure.
-
thread
public void thread(jakarta.persistence.EntityManager entityManager, AbstractJpaTestCase.NewThread thread) throws Exception Handles the thread flow for stress insert.- Parameters:
entityManager-EntityManager.thread-AbstractJpaTestCase.NewThreadmarker.- Throws:
Exception- On failure.
-