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)
Encoderencode in interface Encoder<EvaluatorControl>evaluatorControl - an object to be encodedpublic EvaluatorControl decode(byte[] buf)
Decoderdecode in interface Decoder<EvaluatorControl>buf - the data to be decodedCopyright © 2017 The Apache Software Foundation. All rights reserved.