Package org.tarantool.pool

Source Code of org.tarantool.pool.SocketChannelPooledConnectionFactory16

package org.tarantool.pool;

import org.tarantool.msgpack.TarantoolConnection16;
import org.tarantool.msgpack.TarantoolConnection16Impl;

public class SocketChannelPooledConnectionFactory16 extends AbstractSocketChannelPooledConnectionFactory<TarantoolConnection16> {
    public SocketChannelPooledConnectionFactory16(String host, int port, int minPoolSize, int maxPoolSize) {
        super(host, port, minPoolSize, maxPoolSize);
    }

    public SocketChannelPooledConnectionFactory16(int minPoolSize, int maxPoolSize) {
        super(minPoolSize, maxPoolSize);
    }

    public SocketChannelPooledConnectionFactory16() {
    }

    @Override
    public TarantoolConnection16 newUnpooledConnection() {
        return new TarantoolConnection16Impl(host, port);
    }
}
TOP

Related Classes of org.tarantool.pool.SocketChannelPooledConnectionFactory16

TOP
Copyright © 2018 www.massapi.com. 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.