Example usage for org.apache.commons.pool2 BasePooledObjectFactory subclass-usage

List of usage examples for org.apache.commons.pool2 BasePooledObjectFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.pool2 BasePooledObjectFactory subclass-usage.

Usage

From source file edu.harvard.hul.ois.drs.pdfaconvert.service.pool.PdfaConverterWrapperFactory.java

public class PdfaConverterWrapperFactory extends BasePooledObjectFactory<PdfaConverterWrapper> {

    private static Logger LOG = LogManager.getLogger();

    @Override
    public PdfaConverterWrapper create() throws Exception {

From source file de.qucosa.servlet.FedoraClientFactory.java

public class FedoraClientFactory extends BasePooledObjectFactory<FedoraClient> {
    private final String host;
    private final String password;
    private final String username;

    FedoraClientFactory(String host, String username, String password) {

From source file de.uni_potsdam.hpi.asg.logictool.mapping.seqanddeco.IOBehaviourSimulationStepFactory.java

public class IOBehaviourSimulationStepFactory extends BasePooledObjectFactory<IOBehaviourSimulationStep> {

    @Override
    public IOBehaviourSimulationStep create() throws Exception {
        return new IOBehaviourSimulationStep();
    }

From source file de.uni_potsdam.hpi.asg.delaymatch.trace.helper.TraceSimulationStepFactory.java

public class TraceSimulationStepFactory extends BasePooledObjectFactory<TraceSimulationStep> {

    @Override
    public TraceSimulationStep create() throws Exception {
        return new TraceSimulationStep();
    }

From source file ddf.ldap.ldaplogin.LdapConnectionPooledObjectFactory.java

public class LdapConnectionPooledObjectFactory extends BasePooledObjectFactory<Connection> {

    private final ConnectionFactory ldapConnectionFactory;

    public LdapConnectionPooledObjectFactory(ConnectionFactory ldapConnectionFactory) {
        this.ldapConnectionFactory = ldapConnectionFactory;

From source file com.hurence.logisland.processor.useragent.PooledUserAgentAnalyzerFactory.java

/**
 * Created by mathieu on 18/05/17.
 */
public class PooledUserAgentAnalyzerFactory extends BasePooledObjectFactory<UserAgentAnalyzer> {

    private boolean useCache = false;

From source file gobblin.kafka.schemareg.HttpClientFactory.java

/**
 * An implementation of {@link BasePooledObjectFactory} for {@link HttpClient}.
 *
 * @author mitu
 */
public class HttpClientFactory extends BasePooledObjectFactory<HttpClient> {

From source file com.thinkbiganalytics.nifi.provenance.ProvenanceEventObjectFactory.java

/**
 * An Object Pool to store the Objects while processing the range of records  in the {@link com.thinkbiganalytics.nifi.provenance.reporting.KyloProvenanceEventReportingTask}
 *
 * @see com.thinkbiganalytics.nifi.provenance.reporting.KyloProvenanceEventReportingTask#processEventsInRange(ProvenanceEventRepository, Long, Long)
 */
public class ProvenanceEventObjectFactory extends BasePooledObjectFactory<ProvenanceEventRecordDTO> {

From source file com.dempe.lamp.client.ChannelPoolObjectFactory.java

/**
 * Pool Object Factory for netty channel
 *
 * @author sunzhongyi, xuyuepeng
 * @author xiemalin
 */

From source file ezbake.thrift.ThriftClientFactory.java

public class ThriftClientFactory<T extends TServiceClient> extends BasePooledObjectFactory<T> {

    private static final Logger logger = LoggerFactory.getLogger(ThriftClientFactory.class);

    private ClientFactory<T> clientFactory;
    private ProtocolFactory protocolFactory;