Package akka.remote.artery
Class ReusableInboundEnvelope
- java.lang.Object
-
- akka.remote.artery.ReusableInboundEnvelope
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,InboundEnvelope
public final class ReusableInboundEnvelope extends java.lang.Object implements InboundEnvelope
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ReusableInboundEnvelope()
-
Method Summary
-
-
-
Method Detail
-
createObjectPool
public static ObjectPool<ReusableInboundEnvelope> createObjectPool(int capacity)
-
recipient
public OptionVal<InternalActorRef> recipient()
- Specified by:
recipient
in interfaceInboundEnvelope
-
sender
public OptionVal<ActorRef> sender()
- Specified by:
sender
in interfaceInboundEnvelope
-
originUid
public long originUid()
- Specified by:
originUid
in interfaceInboundEnvelope
-
association
public OptionVal<OutboundContext> association()
- Specified by:
association
in interfaceInboundEnvelope
-
serializer
public int serializer()
- Specified by:
serializer
in interfaceInboundEnvelope
-
classManifest
public java.lang.String classManifest()
- Specified by:
classManifest
in interfaceInboundEnvelope
-
message
public java.lang.Object message()
- Specified by:
message
in interfaceInboundEnvelope
-
envelopeBuffer
public EnvelopeBuffer envelopeBuffer()
- Specified by:
envelopeBuffer
in interfaceInboundEnvelope
-
flags
public byte flags()
- Specified by:
flags
in interfaceInboundEnvelope
-
flag
public boolean flag(ByteFlag byteFlag)
- Specified by:
flag
in interfaceInboundEnvelope
-
lane
public int lane()
- Specified by:
lane
in interfaceInboundEnvelope
-
withMessage
public InboundEnvelope withMessage(java.lang.Object message)
- Specified by:
withMessage
in interfaceInboundEnvelope
-
releaseEnvelopeBuffer
public InboundEnvelope releaseEnvelopeBuffer()
- Specified by:
releaseEnvelopeBuffer
in interfaceInboundEnvelope
-
withRecipient
public InboundEnvelope withRecipient(InternalActorRef ref)
- Specified by:
withRecipient
in interfaceInboundEnvelope
-
clear
public void clear()
-
init
public InboundEnvelope init(OptionVal<InternalActorRef> recipient, OptionVal<ActorRef> sender, long originUid, int serializer, java.lang.String classManifest, byte flags, EnvelopeBuffer envelopeBuffer, OptionVal<OutboundContext> association, int lane)
-
withEnvelopeBuffer
public InboundEnvelope withEnvelopeBuffer(EnvelopeBuffer envelopeBuffer)
-
copyForLane
public InboundEnvelope copyForLane(int lane)
- Specified by:
copyForLane
in interfaceInboundEnvelope
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-