LwcMessages

com.netflix.atlas.eval.model.LwcMessages
object LwcMessages

Helpers for working with messages coming back from the LWCAPI service.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def encodeBatch(msgs: Seq[AnyRef]): ByteString

Encode messages using Jackson's smile format into a ByteString.

Encode messages using Jackson's smile format into a ByteString.

Attributes

def encodeBatch(msgs: Seq[AnyRef], baos: ByteArrayOutputStream): ByteString

Encode messages using Jackson's smile format into a ByteString. The ByteArrayOutputStream will be reset and used as a buffer for encoding the data.

Encode messages using Jackson's smile format into a ByteString. The ByteArrayOutputStream will be reset and used as a buffer for encoding the data.

Attributes

def parse(msg: ByteString): AnyRef

Parse the message string into an internal model object based on the type.

Parse the message string into an internal model object based on the type.

Attributes

def parse(msg: String): AnyRef

Parse the message string into an internal model object based on the type.

Parse the message string into an internal model object based on the type.

Attributes

def parseBatch(msgs: ByteString): List[AnyRef]

Parse a set of messages that were encoded with encodeBatch.

Parse a set of messages that were encoded with encodeBatch.

Attributes