Class ImpExEmptyUpdateTest

    • Constructor Detail

      • ImpExEmptyUpdateTest

        public ImpExEmptyUpdateTest()
    • Method Detail

      • testEmptyUpdateMultiThreadedServiceLayer

        public void testEmptyUpdateMultiThreadedServiceLayer()
      • testEmptyUpdateMultiThreadedJalo

        public void testEmptyUpdateMultiThreadedJalo()
      • testEmptyUpdateSingleThreadedServiceLayer

        public void testEmptyUpdateSingleThreadedServiceLayer()
      • testEmptyUpdateSingleThreadedJalo

        public void testEmptyUpdateSingleThreadedJalo()
      • testOptimisticLockingStillWorks

        public void testOptimisticLockingStillWorks()
      • testOptimisticLockingStillWorksAndDetectsConcurrentUpdate

        public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdate()
      • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue

        public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue()
      • testOptimisticLockingIsBlacklistedForConfiguredCountryType

        public void testOptimisticLockingIsBlacklistedForConfiguredCountryType()
      • testOptimisticLockingIsBlacklistedForConfiguredCountryTypeButWorksForTitleType

        public void testOptimisticLockingIsBlacklistedForConfiguredCountryTypeButWorksForTitleType()
      • testOptimisticLockingIsBlacklistedForConfiguredCountryAndTitleType

        public void testOptimisticLockingIsBlacklistedForConfiguredCountryAndTitleType()
      • testOptimisticLockingWhereCountryTypeIsConfiguredAsBlacklistedInOneThreadAndNotConfiguredInAnotherThread

        public void testOptimisticLockingWhereCountryTypeIsConfiguredAsBlacklistedInOneThreadAndNotConfiguredInAnotherThread()
      • testOptimisticLockingStillWorksTX

        public void testOptimisticLockingStillWorksTX()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX

        public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX()
      • testOptimisticLockingEnabledButNotDetectsConcurrentUpdateTXForBlacklistedType

        public void testOptimisticLockingEnabledButNotDetectsConcurrentUpdateTXForBlacklistedType()
      • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX

        public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX()
                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • withOptimisticLocking

        protected void withOptimisticLocking​(java.lang.Runnable r)
      • withOptimisticLockingDisabledForType

        protected void withOptimisticLockingDisabledForType​(java.lang.Runnable r,
                                                            java.lang.String typeToSet)
      • inTransaction

        protected void inTransaction​(java.lang.Runnable r)
      • inTransactionWhichFails

        protected void inTransactionWhichFails​(java.lang.Runnable r)
      • createModel

        protected CountryModel createModel​(java.lang.String suffixName)
      • createTitleModel

        protected TitleModel createTitleModel​(java.lang.String suffixName)
      • simulateConcurrentUpdateToSameValueMustFail

        protected void simulateConcurrentUpdateToSameValueMustFail​(CountryModel model,
                                                                   Country jaloItem,
                                                                   boolean mustFailImmediately)
      • simulateConcurrentUpdateToSameValueMustNotFail

        protected void simulateConcurrentUpdateToSameValueMustNotFail​(ItemModel model,
                                                                      ExtensibleItem jaloItem)
      • simulateConcurrentUpdateMustFail

        protected void simulateConcurrentUpdateMustFail​(ItemModel model,
                                                        ExtensibleItem jaloItem,
                                                        boolean mustFailImmediately)
      • simulateJaloWritesGetTrackedCorrectly

        protected void simulateJaloWritesGetTrackedCorrectly​(ItemModel model,
                                                             ExtensibleItem jaloItem)
      • changeInOtherThread

        protected long changeInOtherThread​(PK itemPK,
                                           java.lang.String property,
                                           java.lang.Object value)
      • testEmptyUpdateImpl

        protected void testEmptyUpdateImpl​(boolean legacyMode,
                                           int threads)