1

Gridgain 6.0 ストリーマーの例 StreamingCheckInExample.java では、config.xml ファイルで 2 つのウィンドウが定義されています。次のコードでは、ウィンドウのイベント タイプは LocationInfo です。ウィンドウ イベント タイプの情報はどこに指定されているのでしょうか。

private static class DetectPlacesStage implements GridStreamerStage<CheckInEvent> {
    ...

    @Nullable @Override public Map<String, Collection<?>> run(GridStreamerContext ctx,
        Collection<CheckInEvent> evts) throws GridException {
        GridStreamerWindow<LocationInfo> win = ctx.window(name());
        ...
4

1 に答える 1