Package org.apache.iotdb.commons.client
Class ClientPoolFactory.AsyncDataNodeHeartbeatServiceClientPoolFactory
- java.lang.Object
-
- org.apache.iotdb.commons.client.ClientPoolFactory.AsyncDataNodeHeartbeatServiceClientPoolFactory
-
- All Implemented Interfaces:
IClientPoolFactory<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient>
- Enclosing class:
- ClientPoolFactory
public static class ClientPoolFactory.AsyncDataNodeHeartbeatServiceClientPoolFactory extends java.lang.Object implements IClientPoolFactory<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient>
-
-
Constructor Summary
Constructors Constructor Description AsyncDataNodeHeartbeatServiceClientPoolFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.pool2.KeyedObjectPool<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient>createClientPool(ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient> manager)We can implement this interface in other modules and then set the corresponding expected parameters and client factory classes.
-
-
-
Method Detail
-
createClientPool
public org.apache.commons.pool2.KeyedObjectPool<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient> createClientPool(ClientManager<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient> manager)
Description copied from interface:IClientPoolFactoryWe can implement this interface in other modules and then set the corresponding expected parameters and client factory classes.- Specified by:
createClientPoolin interfaceIClientPoolFactory<org.apache.iotdb.common.rpc.thrift.TEndPoint,AsyncDataNodeHeartbeatServiceClient>
-
-