@@ -0,0 +1,1564 @@
+/*%0A * Copyright 2016-2018 shardingsphere.io.%0A * %3Cp%3E%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * %3C/p%3E%0A */%0A%0Apackage io.shardingsphere.core.executor;%0A%0Aimport io.shardingsphere.core.constant.ProxyMode;%0Aimport io.shardingsphere.core.executor.type.connection.ConnectionStrictlyExecutorEngine;%0Aimport io.shardingsphere.core.executor.type.memory.MemoryStrictlyExecutorEngine;%0Aimport lombok.AccessLevel;%0Aimport lombok.NoArgsConstructor;%0A%0A/**%0A * JDBC execute engine factory.%0A *%0A * @author panjuan%0A */%0A@NoArgsConstructor(access = AccessLevel.PRIVATE)%0Apublic final class ExecutorEngineFactory %7B%0A    %0A    /**%0A     * Create instance for execute engine.%0A     *%0A     * @param proxyMode proxy mode%0A     * @param executorSize executor size%0A     * @return instance for text protocol%0A     */%0A    public static ExecutorEngine createTextProtocolInstance(final ProxyMode proxyMode, final int executorSize) %7B%0A        return ProxyMode.MEMORY_STRICTLY == proxyMode ? new MemoryStrictlyExecutorEngine(executorSize) : new ConnectionStrictlyExecutorEngine(executorSize);%0A    %7D%0A%7D%0A

add ExecutorEngineFactory.java