Class ExtractorAdapter<E,​M>

  • public class ExtractorAdapter<E,​M>
    extends ShardingMessageExtractor<java.lang.Object,​M>
    INTERNAL API Extracts entityId and unwraps ShardingEnvelope and StartEntity messages. Other messages are delegated to the given ShardingMessageExtractor.
    • Method Detail

      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • unwrapMessage

        public M unwrapMessage​(java.lang.Object message)
        Description copied from class: ShardingMessageExtractor
        Extract the message to send to the entity from an incoming 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 entity actor.
        Specified by:
        unwrapMessage in class ShardingMessageExtractor<java.lang.Object,​M>
        message - (undocumented)