
public abstract class ONSClientAbstract extends Object implements Admin
| Modifier and Type | Field and Description |
|---|---|
protected String |
nameServerAddr |
protected Properties |
properties |
protected SessionCredentials |
sessionCredentials |
protected AtomicBoolean |
started |
protected AsyncDispatcher |
traceDispatcher |
protected static String |
WSADDR_INTERNAL |
protected static long |
WSADDR_INTERNAL_TIMEOUTMILLS |
protected static String |
WSADDR_INTERNET |
protected static long |
WSADDR_INTERNET_TIMEOUTMILLS |
| Constructor and Description |
|---|
ONSClientAbstract(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildIntanceName() |
protected void |
checkONSProducerServiceState(com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl producer) |
protected String |
fetchNameServerAddr() |
String |
getNameServerAddr() |
boolean |
isClosed() |
boolean |
isStarted() |
void |
shutdown() |
protected static final String WSADDR_INTERNAL
protected static final String WSADDR_INTERNET
protected static final long WSADDR_INTERNAL_TIMEOUTMILLS
protected static final long WSADDR_INTERNET_TIMEOUTMILLS
protected final Properties properties
protected final SessionCredentials sessionCredentials
protected String nameServerAddr
protected AsyncDispatcher traceDispatcher
protected final AtomicBoolean started
public ONSClientAbstract(Properties properties)
protected String fetchNameServerAddr()
protected String buildIntanceName()
public String getNameServerAddr()
protected void checkONSProducerServiceState(com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl producer)
Copyright © 2012–2017. All rights reserved.