private static class ProcedureUtil.CompatStateSerializer extends Object implements ProcedureStateSerializer
Modifier and Type | Field and Description |
---|---|
private InputStream |
inputStream |
Constructor and Description |
---|
CompatStateSerializer(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
<M extends org.apache.hbase.thirdparty.com.google.protobuf.Message> |
deserialize(Class<M> clazz) |
void |
serialize(org.apache.hbase.thirdparty.com.google.protobuf.Message message) |
private InputStream inputStream
public CompatStateSerializer(InputStream inputStream)
public void serialize(org.apache.hbase.thirdparty.com.google.protobuf.Message message) throws IOException
serialize
in interface ProcedureStateSerializer
IOException
public <M extends org.apache.hbase.thirdparty.com.google.protobuf.Message> M deserialize(Class<M> clazz) throws IOException
deserialize
in interface ProcedureStateSerializer
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.