com.silverpeas.notification.delayed
Class DelayedNotificationManagerPerformanceTest

java.lang.Object
  extended by com.silverpeas.notification.delayed.DelayedNotificationManagerPerformanceTest

@ContextConfiguration(locations={"/spring-delayed-notification.xml","/spring-delayed-notification-datasource.xml"})
@TransactionConfiguration(transactionManager="jpaTransactionManager")
public class DelayedNotificationManagerPerformanceTest
extends Object


Constructor Summary
DelayedNotificationManagerPerformanceTest()
           
 
Method Summary
 void generalSetUp()
           
 Collection<Long> loadDelayedNorifications(int size)
           
static void prepareDataSet()
           
 void testDeleteDelayedNotifications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayedNotificationManagerPerformanceTest

public DelayedNotificationManagerPerformanceTest()
Method Detail

prepareDataSet

public static void prepareDataSet()
                           throws Exception
Throws:
Exception

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

testDeleteDelayedNotifications

@Transactional(propagation=REQUIRED)
public void testDeleteDelayedNotifications()
                                    throws Exception
Throws:
Exception

loadDelayedNorifications

@Transactional(propagation=REQUIRES_NEW)
public Collection<Long> loadDelayedNorifications(int size)


Copyright © 2016 Silverpeas. All Rights Reserved.