Package com.dianping.cat.message.internal

Examples of com.dianping.cat.message.internal.DefaultEvent.complete()


    if (nameValuePairs != null && nameValuePairs.length() > 0) {
      event.addData(nameValuePairs);
    }
    event.setStatus(status);
    event.complete();
  }

  protected Transaction newTransaction(String type, String name) {
    DefaultMessageProducer cat = (DefaultMessageProducer) Cat.getProducer();
    Transaction transaction = cat.newTransaction(m_current, type, name);
View Full Code Here


      if (data != null) {
        event.addData(data);
      }

      event.setStatus(Message.SUCCESS);
      event.complete();
      return event;
    }

    public MessageTree next() throws InterruptedException {
      MessageTree tree = null;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.