All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.oschina.thrift.client.support.pool.TClientPooledObject Maven / Gradle / Ivy

There is a newer version: 0.0.5
Show newest version
package net.oschina.thrift.client.support.pool;

import org.apache.commons.pool2.impl.DefaultPooledObject;
import org.apache.thrift.TServiceClient;
import org.apache.thrift.transport.TTransport;

/**
 * @author dw_xiajiqiu1
 * @time 2017/6/19 9:24
 */
public class TClientPooledObject extends DefaultPooledObject {

    private TTransport targetTransport;
    /**
     * Create a new instance that wraps the provided object so that the pool can
     * track the state of the pooled object.
     *
     * @param object The object to wrap
     */
    public TClientPooledObject(TServiceClient object) {
        super(object);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy