public class MesosRemoteManagerCodec extends Object implements Codec<EvaluatorControl>
Constructor and Description |
---|
MesosRemoteManagerCodec() |
Modifier and Type | Method and Description |
---|---|
EvaluatorControl |
decode(byte[] buf)
Decodes the given byte array into an object.
|
byte[] |
encode(EvaluatorControl evaluatorControl)
Encodes the given object into a Byte Array.
|
@Inject public MesosRemoteManagerCodec()
public byte[] encode(EvaluatorControl evaluatorControl)
Encoder
encode
in interface Encoder<EvaluatorControl>
evaluatorControl
- an object to be encodedpublic EvaluatorControl decode(byte[] buf)
Decoder
decode
in interface Decoder<EvaluatorControl>
buf
- the data to be decodedCopyright © 2016 The Apache Software Foundation. All rights reserved.