类 EphemeralIpPortClientFactory
- java.lang.Object
-
- com.alibaba.nacos.naming.core.v2.client.factory.impl.EphemeralIpPortClientFactory
-
- 所有已实现的接口:
ClientFactory<IpPortBasedClient>
public class EphemeralIpPortClientFactory extends java.lang.Object implements ClientFactory<IpPortBasedClient>
Client factory for ephemeralIpPortBasedClient.- 作者:
- xiweng.yy
-
-
构造器概要
构造器 构造器 说明 EphemeralIpPortClientFactory()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringgetType()Get the type of client this factory can build.IpPortBasedClientnewClient(java.lang.String clientId, ClientAttributes attributes)Build a newClient.IpPortBasedClientnewSyncedClient(java.lang.String clientId, ClientAttributes attributes)Build a newClientsynced from other server node.
-
-
-
方法详细资料
-
getType
public java.lang.String getType()
从接口复制的说明:ClientFactoryGet the type of client this factory can build.- 指定者:
getType在接口中ClientFactory<IpPortBasedClient>- 返回:
- client type
-
newClient
public IpPortBasedClient newClient(java.lang.String clientId, ClientAttributes attributes)
从接口复制的说明:ClientFactoryBuild a newClient.- 指定者:
newClient在接口中ClientFactory<IpPortBasedClient>- 参数:
clientId- client idattributes- client attributes- 返回:
- new
Clientimplementation
-
newSyncedClient
public IpPortBasedClient newSyncedClient(java.lang.String clientId, ClientAttributes attributes)
从接口复制的说明:ClientFactoryBuild a newClientsynced from other server node.- 指定者:
newSyncedClient在接口中ClientFactory<IpPortBasedClient>- 参数:
clientId- client idattributes- client attributes- 返回:
- new sync
Clientimplementation
-
-