+ @Override
+ public ThreadConfiguration getThreadConfiguration() {
+ if (threads == null) {
+ return null;
+ }
+ return new ThreadConfiguration() {
+
+ @Override
+ public int getWorkerThreadCount() {
+ return threads.getWorkerThreads();
+ }
+
+ @Override
+ public int getBossThreadCount() {
+ return threads.getBossThreads();
+ }
+ };
+ }