@Override
        ConfigurableThreadPoolExecutor decorate(ConfigurableThreadPoolExecutor created,
                                                Element element) {

            Element maxThreadElement = getChild(element, "max-threads");
            if (maxThreadElement != null) {
                created.setMaximumPoolSize(Integer.parseInt(getText(maxThreadElement)));
            }

            Element coreThreadElement = getChild(element, "core-threads");
            if (coreThreadElement != null) {
                created.setCorePoolSize(Integer.parseInt(getText(coreThreadElement)));
            }
            return created;
        }
Gets parameters from a given

@param el xml node which has {@link #PARAMS_TAG_NAME} child
@return Map of key values read from xml
tika-core/src/main/java/org/apache/tika/config/TikaConfig.java