Interface SessionTuner
- All Known Implementing Classes:
SafeModeTuner
,StandardTuner
public interface SessionTuner
Generic tuning interface.
Allow JPA and Session configuration to be tuned or auto-tuned for a specific purpose.
This facilitates a one-flag configuration option for configuring multiple settings, or performing dynamic tuning.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
tuneDeploy
(Session session) Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session.void
tunePostDeploy
(Session session) Allow any Session configuration to be tune after deploying and connecting the session.void
tunePreDeploy
(Map properties) Allow any JPA persistence unit properties to be configured, prior to deployment.
-
Method Details
-
tunePreDeploy
Allow any JPA persistence unit properties to be configured, prior to deployment. -
tuneDeploy
Allow any Session configuration to be tune after meta-data has been processed, but before connecting the session. -
tunePostDeploy
Allow any Session configuration to be tune after deploying and connecting the session.
-