Interface InternalMessage
-
- All Superinterfaces:
Traceable,TracedMessage
public interface InternalMessage extends TracedMessage
- Author:
- Joost van de Wijgerd
-
-
Field Summary
Fields Modifier and Type Field Description static intNO_TIMEOUT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUIDgetId()StringgetMessageQueueAffinityKey()ByteBuffergetPayload()<T> TgetPayload(MessageDeserializer<T> deserializer)StringgetPayloadClass()List<ActorRef>getReceivers()ActorRefgetSender()intgetTimeout()booleanhasPayloadObject()booleanhasSerializedPayload()booleanisDurable()booleanisReactive()booleanisUndeliverable()byte[]toByteArray()-
Methods inherited from interface org.elasticsoftware.elasticactors.tracing.Traceable
getCreationContext, getTraceContext
-
Methods inherited from interface org.elasticsoftware.elasticactors.tracing.TracedMessage
getType, getTypeAsString
-
-
-
-
Field Detail
-
NO_TIMEOUT
static final int NO_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
UUID getId()
-
getSender
@Nullable ActorRef getSender()
- Specified by:
getSenderin interfaceTracedMessage
-
getPayload
ByteBuffer getPayload()
-
getPayloadClass
String getPayloadClass()
-
isDurable
boolean isDurable()
-
toByteArray
byte[] toByteArray()
-
getPayload
<T> T getPayload(MessageDeserializer<T> deserializer) throws IOException
- Throws:
IOException
-
isUndeliverable
boolean isUndeliverable()
-
getTimeout
int getTimeout()
-
hasSerializedPayload
boolean hasSerializedPayload()
-
hasPayloadObject
boolean hasPayloadObject()
-
isReactive
boolean isReactive()
-
-