cm.getCacheManagerConfiguration().persistenceThreadPool().threadPoolFactory();
assertEquals(6, persistenceThreadPool.maxThreads());
assertEquals(10001, persistenceThreadPool.queueLength());
DefaultThreadFactory persistenceThreadFactory =
cm.getCacheManagerConfiguration().persistenceThreadPool().threadFactory();
assertEquals("PersistenceThread", persistenceThreadFactory.threadNamePattern());
BlockingThreadPoolExecutorFactory transportThreadPool =
cm.getCacheManagerConfiguration().transport().transportThreadPool().threadPoolFactory();
assertEquals(TestCacheManagerFactory.MAX_ASYNC_EXEC_THREADS, transportThreadPool.maxThreads());
assertEquals(TestCacheManagerFactory.ASYNC_EXEC_QUEUE_SIZE, transportThreadPool.queueLength());