Package akka.remote.artery.aeron
Class AeronSink
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SinkShape<EnvelopeBuffer>,scala.concurrent.Future<Done>>
-
- akka.remote.artery.aeron.AeronSink
-
- All Implemented Interfaces:
Graph<SinkShape<EnvelopeBuffer>,scala.concurrent.Future<Done>>
public class AeronSink extends GraphStageWithMaterializedValue<SinkShape<EnvelopeBuffer>,scala.concurrent.Future<Done>>
INTERNAL API param: channel eg. "aeron:udp?endpoint=localhost:40123"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AeronSink.GaveUpMessageException
static class
AeronSink.PublicationClosedException
-
Constructor Summary
Constructors Constructor Description AeronSink(java.lang.String channel, int streamId, io.aeron.Aeron aeron, TaskRunner taskRunner, EnvelopeBufferPool pool, scala.concurrent.duration.Duration giveUpAfter, EventSink flightRecorder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,scala.concurrent.Future<Done>>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
Inlet<EnvelopeBuffer>
in()
SinkShape<EnvelopeBuffer>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.static int
TimerCheckMask()
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
AeronSink
public AeronSink(java.lang.String channel, int streamId, io.aeron.Aeron aeron, TaskRunner taskRunner, EnvelopeBufferPool pool, scala.concurrent.duration.Duration giveUpAfter, EventSink flightRecorder)
-
-
Method Detail
-
TimerCheckMask
public static int TimerCheckMask()
-
in
public Inlet<EnvelopeBuffer> in()
-
shape
public SinkShape<EnvelopeBuffer> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,scala.concurrent.Future<Done>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SinkShape<EnvelopeBuffer>,scala.concurrent.Future<Done>>
-
-