com.aliyun.openservices.ons.api.impl.rocketmq
类 ProducerImpl

java.lang.Object
  继承者 com.aliyun.openservices.ons.api.impl.rocketmq.ONSClientAbstract
      继承者 com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl
所有已实现的接口:
Admin, Producer

public class ProducerImpl
extends ONSClientAbstract
implements Producer


字段摘要
 
从类 com.aliyun.openservices.ons.api.impl.rocketmq.ONSClientAbstract 继承的字段
nameServerAddr, properties, sessionCredentials, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS
 
构造方法摘要
ProducerImpl(java.util.Properties properties)
           
 
方法摘要
 boolean isClosed()
           
 boolean isStarted()
           
 SendResult send(Message message)
           
 void sendOneway(Message message)
           
 void shutdown()
           
 void start()
           
 
从类 com.aliyun.openservices.ons.api.impl.rocketmq.ONSClientAbstract 继承的方法
buildIntanceName, fetchNameServerAddr, getNameServerAddr
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ProducerImpl

public ProducerImpl(java.util.Properties properties)
方法详细信息

start

public void start()
指定者:
接口 Producer 中的 start

shutdown

public void shutdown()
指定者:
接口 Producer 中的 shutdown

send

public SendResult send(Message message)
指定者:
接口 Producer 中的 send

sendOneway

public void sendOneway(Message message)
指定者:
接口 Producer 中的 sendOneway

isStarted

public boolean isStarted()
指定者:
接口 Admin 中的 isStarted

isClosed

public boolean isClosed()
指定者:
接口 Admin 中的 isClosed


Copyright © 2012-2015. All Rights Reserved.