|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ShardRegion.MessageExtractor
Java API: Interface of functions to extract entry id, shard id, and the message to send to the entry from an incoming message.
Method Summary | |
---|---|
java.lang.String |
entryId(java.lang.Object message)
Extract the entry id from an incoming message . |
java.lang.Object |
entryMessage(java.lang.Object message)
Extract the message to send to the entry from an incoming message . |
java.lang.String |
shardId(java.lang.Object message)
Extract the entry id from an incoming message . |
Method Detail |
---|
java.lang.String entryId(java.lang.Object message)
message
. If null
is returned
the message will be unhandled
, i.e. posted as Unhandled
messages on the event stream
message
- (undocumented)
java.lang.Object entryMessage(java.lang.Object message)
message
.
Note that the extracted message does not have to be the same as the incoming
message to support wrapping in message envelope that is unwrapped before
sending to the entry actor.
message
- (undocumented)
java.lang.String shardId(java.lang.Object message)
message
. Only messages that passed the entryId(java.lang.Object)
function will be used as input to this function.
message
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |