Examples of emit()


Examples of com.asakusafw.dmdl.thundergate.emitter.ThunderGateModelEmitter.emit()

        for (ModelDescription model : models) {
            LOG.info("モデル{}を出力しています (残り{}個のモデル)",
                    model.getReference(),
                    (total - successCount - failedCount));
            try {
                emitter.emit(model);
                successCount++;
            } catch (Exception e) {
                LOG.error(
                        MessageFormat.format(
                                "モデル{0}の出力に失敗しました",
View Full Code Here

Examples of com.asakusafw.modelgen.emitter.AnyModelEntityEmitter.emit()

        for (ModelDescription model : models) {
            LOG.info("モデル{}を出力しています (残り{}個のモデル)",
                    model.getReference(),
                    (total - successCount - failedCount));
            try {
                modelEmitter.emit(model);
                tsvInEmitter.emit(model);
                tsvOutEmitter.emit(model);
                successCount++;
            } catch (Exception e) {
                LOG.error(
View Full Code Here

Examples of com.asakusafw.modelgen.emitter.ModelInputEmitter.emit()

            LOG.info("モデル{}を出力しています (残り{}個のモデル)",
                    model.getReference(),
                    (total - successCount - failedCount));
            try {
                modelEmitter.emit(model);
                tsvInEmitter.emit(model);
                tsvOutEmitter.emit(model);
                successCount++;
            } catch (Exception e) {
                LOG.error(
                        MessageFormat.format(
View Full Code Here

Examples of com.asakusafw.modelgen.emitter.ModelOutputEmitter.emit()

                    model.getReference(),
                    (total - successCount - failedCount));
            try {
                modelEmitter.emit(model);
                tsvInEmitter.emit(model);
                tsvOutEmitter.emit(model);
                successCount++;
            } catch (Exception e) {
                LOG.error(
                        MessageFormat.format(
                                "モデル{0}の出力に失敗しました",
View Full Code Here

Examples of com.asakusafw.utils.java.internal.model.util.ModelEmitter.emit()

        }
        if (writer == null) {
            throw new IllegalArgumentException("writer must not be null"); //$NON-NLS-1$
        }
        ModelEmitter emitter = new ModelEmitter(writer);
        emitter.emit(model);
    }

    /**
     * リフレクションAPIの型の表現を、モデルの型の表現に変換して返す。
     * @param factory 利用するファクトリ
View Full Code Here

Examples of com.github.nkzawa.socketio.client.Socket.emit()

        for (CurrencyPair currencyPair : currencyPairs) {
          String market = toMarket(currencyPair);
          String subscribeData = String.format("%s_%s", name, market);
          log.debug("subscribing {}", subscribeData);
          socket.emit("subscribe", subscribeData);
        }
      }

      private void subscribePrivateData() {
View Full Code Here

Examples of com.metamx.emitter.service.ServiceEmitter.emit()

            entry.getKey(), entry.getValue().get(), cluster.get(entry.getKey()).size()
        );
      }
    }

    emitter.emit(
        new ServiceMetricEvent.Builder().build(
            "coordinator/overShadowed/count", stats.getGlobalStats().get("overShadowedCount")
        )
    );
View Full Code Here

Examples of com.nhncorp.mods.socket.io.SocketIOSocket.emit()

            params.putArray("args", args);
          params.putString("name", packet.getString("name"));
          if (isDataAck) {
            params.putString("ack", packet.getString("ack"));
          }
          socket.emit(params);
        }
        break;
      case "disconnect":
        this.manager.onLeave(sessionId, this.name);
        //        this.store.publish('leave', sessid, this.name);
View Full Code Here

Examples of com.nhncorp.mods.socket.io.impl.Namespace.emit()

    final Namespace chat = io.of("/chat");
    chat.onConnection(new Handler<SocketIOSocket>() {
      public void handle(SocketIOSocket socket) {
        socket.on("namespace emit", new Handler<JsonObject>() {
          public void handle(JsonObject event) {
            chat.emit("msg", new JsonObject().putString("everyone", "in").putString("/chat", "will get"));
          }
        });
      }
    });
View Full Code Here

Examples of com.odiago.flumebase.exec.FlowElementContext.emit()

          Event rawEvent = iter.next();
          rawEvent.set(STREAM_NAME_ATTR, mStreamSymbol.getName().getBytes());
          EventWrapper wrapper = new ParsingEventWrapper(mStreamSymbol.getEventParser(),
              mFieldNames);
          wrapper.reset(rawEvent);
          context.emit(wrapper);
        }
      } catch (IOException ioe) {
        LOG.error("IOException emitting event: " + ioe);
      } catch (InterruptedException ie) {
        LOG.error("Interrupted emitting event: " + ie);
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.