private static class ProcedureUtil.StateSerializer extends Object implements ProcedureStateSerializer
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder |
builder |
private int |
deserializeIndex |
Constructor and Description |
---|
StateSerializer(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder builder) |
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 final org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder builder
private int deserializeIndex
public StateSerializer(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder builder)
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.