Examples of AsyncTaskManager


Examples of net.timewalker.ffmq3.utils.async.AsyncTaskManager

   * @see junit.framework.TestCase#setUp()
   */
  protected void setUp() throws Exception
  {
    super.setUp();
    asyncTaskManager = new AsyncTaskManager("testAsyncTaskManager",
        1,
        2,
        10);
  }
View Full Code Here

Examples of net.timewalker.ffmq3.utils.async.AsyncTaskManager

    if (asyncTaskManager == null)
    {
        int threadPoolMinSize = getSettings().getIntProperty(FFMQCoreSettings.ASYNC_TASK_MANAGER_DELIVERY_THREAD_POOL_MINSIZE,0);
        int threadPoolMaxIdle = getSettings().getIntProperty(FFMQCoreSettings.ASYNC_TASK_MANAGER_DELIVERY_THREAD_POOL_MAXIDLE,5);
        int threadPoolMaxSize = getSettings().getIntProperty(FFMQCoreSettings.ASYNC_TASK_MANAGER_DELIVERY_THREAD_POOL_MAXSIZE,10);
      asyncTaskManager = new AsyncTaskManager("AsyncTaskManager-client-delivery-",
                          threadPoolMinSize,
                          threadPoolMaxIdle,
                          threadPoolMaxSize);
    }
    return asyncTaskManager;
View Full Code Here

Examples of net.timewalker.ffmq3.utils.async.AsyncTaskManager

   */
  protected void setUp() throws Exception
  {
    super.setUp();
   
    this.asyncTaskManager = new AsyncTaskManager("test",
        1,
        5,
        10);
   
    System.setProperty("ffmq.dataStore.safeMode", "true");
View Full Code Here

Examples of net.timewalker.ffmq3.utils.async.AsyncTaskManager

            this.destinationTemplateProvider.loadExistingTemplates();
            this.templateMappingProvider.loadMappings();
           
            // AsyncTaskManager - Delivery
             this.deliveryAsyncTaskManager =
               new AsyncTaskManager("AsyncTaskManager-delivery-"+name,
                                setup.getDeliveryAsyncTaskManagerThreadPoolMinSize(),
                                setup.getDeliveryAsyncTaskManagerThreadPoolMaxIdle(),
                                setup.getDeliveryAsyncTaskManagerThreadPoolMaxSize());
            
            // AsyncTaskManager - Disk I/O
             this.diskIOAsyncTaskManager =
               new AsyncTaskManager("AsyncTaskManager-diskIO-"+name,
                                setup.getDiskIOAsyncTaskManagerThreadPoolMinSize(),
                                setup.getDiskIOAsyncTaskManagerThreadPoolMaxIdle(),
                                setup.getDiskIOAsyncTaskManagerThreadPoolMaxSize());

            // Delete old temporary destinations
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.