Class RoutableFactories60.StatBucketMessageFactory

    • Constructor Detail

      • StatBucketMessageFactory

        public StatBucketMessageFactory()
    • Method Detail

      • decodeBucketSpace

        protected java.lang.String decodeBucketSpace​(com.yahoo.vespa.objects.Deserializer deserializer)
      • encodeBucketSpace

        protected boolean encodeBucketSpace​(java.lang.String bucketSpace,
                                            com.yahoo.document.serialization.DocumentSerializer buf)
      • doEncode

        protected boolean doEncode​(DocumentMessage obj,
                                   com.yahoo.document.serialization.DocumentSerializer buf)
        Description copied from class: RoutableFactories60.DocumentMessageFactory
        This method encodes the given message using the given serializer. You are guaranteed to only receive messages of the type that this factory was registered for.

        This method is NOT exception safe. Return false to signal failure.

        Specified by:
        doEncode in class RoutableFactories60.DocumentMessageFactory
        Parameters:
        obj - The message to encode.
        buf - The serializer to use for encoding.
        Returns:
        True if the message was encoded.