public class RuntimeStatsPersister extends Object
| Modifier and Type | Field and Description |
|---|---|
static RuntimeStatsPersister |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
decode(byte[] input,
Class<T> clazz) |
<T> T |
decode(String input,
Class<T> clazz) |
<T> String |
encode(T input) |
public static final RuntimeStatsPersister INSTANCE
public <T> String encode(T input) throws IOException
IOExceptionpublic <T> T decode(String input, Class<T> clazz) throws IOException
IOExceptionpublic <T> T decode(byte[] input,
Class<T> clazz)
throws IOException
IOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.