set the thread count of distributed cache
Testing code for "invokeAll"