Package com.alibaba.cobar.client.datasources

Examples of com.alibaba.cobar.client.datasources.CobarDataSourceDescriptor


        return executor;
    }

    private void addDefaultSingleThreadExecutorIfNecessary() {
        String identity = getDefaultDataSourceName();
        CobarDataSourceDescriptor descriptor = new CobarDataSourceDescriptor();
        descriptor.setIdentity(identity);
        descriptor.setPoolSize(Runtime.getRuntime().availableProcessors() * 5);
        getDataSourceSpecificExecutors().put(identity,
                createExecutorForSpecificDataSource(descriptor));
    }
View Full Code Here

TOP

Related Classes of com.alibaba.cobar.client.datasources.CobarDataSourceDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.