zhoushihao
2024-10-11 f4644873804165e9db88375f242421f00b0903f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.mes.milo.pool;
 
import com.mes.milo.configuration.MiloProperties;
import org.apache.commons.pool2.KeyedPooledObjectFactory;
import org.apache.commons.pool2.impl.GenericKeyedObjectPool;
import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
import org.eclipse.milo.opcua.sdk.client.OpcUaClient;
 
/**
 * 类 MiloConnectPool 功能描述:<br/>
 *
 * @author mes
 * @version 0.0.1
 * @date 2023/5/4 19:17
 */
public class MiloConnectPool extends GenericKeyedObjectPool<MiloProperties.Config, OpcUaClient> {
 
    public MiloConnectPool(KeyedPooledObjectFactory<MiloProperties.Config, OpcUaClient> factory) {
        super(factory);
    }
 
    public MiloConnectPool(KeyedPooledObjectFactory<MiloProperties.Config, OpcUaClient> factory, GenericKeyedObjectPoolConfig<OpcUaClient> config) {
        super(factory, config);
    }
}