Examples of consumeType()


Examples of com.alibaba.rocketmq.client.impl.consumer.MQConsumerInner.consumeType()

        for (String group : this.consumerTable.keySet()) {
            MQConsumerInner impl = this.consumerTable.get(group);
            if (impl != null) {
                ConsumerData consumerData = new ConsumerData();
                consumerData.setGroupName(impl.groupName());
                consumerData.setConsumeType(impl.consumeType());
                consumerData.setMessageModel(impl.messageModel());
                consumerData.setConsumeFromWhere(impl.consumeFromWhere());
                consumerData.getSubscriptionDataSet().addAll(impl.subscriptions());

                heartbeatData.getConsumerDataSet().add(consumerData);
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.MQConsumerInner.consumeType()

        Iterator<Entry<String, MQConsumerInner>> it = this.consumerTable.entrySet().iterator();
        while (it.hasNext()) {
            Entry<String, MQConsumerInner> next = it.next();
            MQConsumerInner consumer = next.getValue();
            // 只支持PushConsumer
            if (ConsumeType.CONSUME_PASSIVELY == consumer.consumeType()) {
                Set<SubscriptionData> subscriptions = consumer.subscriptions();
                for (SubscriptionData sub : subscriptions) {
                    if (sub.isClassFilterMode()) {
                        final String consumerGroup = consumer.groupName();
                        final String className = sub.getSubString();
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.MQConsumerInner.consumeType()

        for (String group : this.consumerTable.keySet()) {
            MQConsumerInner impl = this.consumerTable.get(group);
            if (impl != null) {
                ConsumerData consumerData = new ConsumerData();
                consumerData.setGroupName(impl.groupName());
                consumerData.setConsumeType(impl.consumeType());
                consumerData.setMessageModel(impl.messageModel());
                consumerData.setConsumeFromWhere(impl.consumeFromWhere());
                consumerData.getSubscriptionDataSet().addAll(impl.subscriptions());
                consumerData.setUnitMode(impl.isUnitMode());
View Full Code Here

Examples of com.alibaba.rocketmq.client.impl.consumer.MQConsumerInner.consumeType()

            }
        }

        consumerRunningInfo.getProperties().put(ConsumerRunningInfo.PROP_NAMESERVER_ADDR, nsAddr);
        consumerRunningInfo.getProperties().put(ConsumerRunningInfo.PROP_CONSUME_TYPE,
            mqConsumerInner.consumeType());
        consumerRunningInfo.getProperties().put(ConsumerRunningInfo.PROP_CLIENT_VERSION,
            MQVersion.getVersionDesc(MQVersion.CurrentVersion));

        return consumerRunningInfo;
    }
View Full Code Here

Examples of jadx.core.dex.nodes.parser.SignatureParser.consumeType()

      return false;
    }
    try {
      genericMap = sp.consumeGenericMap();
      List<ArgType> argsTypes = sp.consumeMethodArgs();
      retType = sp.consumeType();

      List<ArgType> mthArgs = mthInfo.getArgumentsTypes();
      if (argsTypes.size() != mthArgs.size()) {
        if (argsTypes.isEmpty()) {
          return false;
View Full Code Here

Examples of jadx.core.dex.nodes.parser.SignatureParser.consumeType()

    }
    try {
      // parse class generic map
      genericMap = sp.consumeGenericMap();
      // parse super class signature
      superClass = ClassInfo.fromType(sp.consumeType());
      // parse interfaces signatures
      for (int i = 0; i < interfaces.size(); i++) {
        ArgType type = sp.consumeType();
        if (type != null) {
          interfaces.set(i, ClassInfo.fromType(type));
View Full Code Here

Examples of jadx.core.dex.nodes.parser.SignatureParser.consumeType()

      genericMap = sp.consumeGenericMap();
      // parse super class signature
      superClass = ClassInfo.fromType(sp.consumeType());
      // parse interfaces signatures
      for (int i = 0; i < interfaces.size(); i++) {
        ArgType type = sp.consumeType();
        if (type != null) {
          interfaces.set(i, ClassInfo.fromType(type));
        } else {
          break;
        }
View Full Code Here

Examples of jadx.core.dex.nodes.parser.SignatureParser.consumeType()

  private void setFieldsTypesFromSignature() {
    for (FieldNode field : fields) {
      SignatureParser sp = SignatureParser.fromNode(field);
      if (sp != null) {
        try {
          ArgType gType = sp.consumeType();
          if (gType != null) {
            field.setType(gType);
          }
        } catch (JadxRuntimeException e) {
          LOG.error("Field signature parse error: {}", field, e);
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.