public class SocketStateUpdater extends BaseStateUpdater<SocketState>
StateUpdater for SocketState. Serializes tuple one by one and writes to socket, and finally flushes.
| Constructor and Description |
|---|
SocketStateUpdater(IOutputSerializer outputSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateState(SocketState state,
List<TridentTuple> tuples,
TridentCollector collector) |
cleanup, preparepublic SocketStateUpdater(IOutputSerializer outputSerializer)
public void updateState(SocketState state, List<TridentTuple> tuples, TridentCollector collector)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.