public class Gateway
extends java.lang.Object
implements java.lang.Runnable, java.lang.AutoCloseable
Constructor and Description |
---|
Gateway(java.lang.String topologyName,
java.lang.String topologyId,
PhysicalPlans.Instance instance,
int streamPort,
int metricsPort,
NIOLooper gatewayLooper,
Communicator<HeronTuples.HeronTupleSet> inStreamQueue,
Communicator<HeronTuples.HeronTupleSet> outStreamQueue,
Communicator<InstanceControlMsg> inControlQueue,
java.util.List<Communicator<Metrics.MetricPublisherPublishMessage>> outMetricsQueues)
Construct a Gateway basing on given arguments
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
run() |
public Gateway(java.lang.String topologyName, java.lang.String topologyId, PhysicalPlans.Instance instance, int streamPort, int metricsPort, NIOLooper gatewayLooper, Communicator<HeronTuples.HeronTupleSet> inStreamQueue, Communicator<HeronTuples.HeronTupleSet> outStreamQueue, Communicator<InstanceControlMsg> inControlQueue, java.util.List<Communicator<Metrics.MetricPublisherPublishMessage>> outMetricsQueues) throws java.io.IOException
java.io.IOException