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
IOException
public <T> T decode(String input, Class<T> clazz) throws IOException
IOException
public <T> T decode(byte[] input, Class<T> clazz) throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.