Class ProcedureUtil.StateSerializer

java.lang.Object
org.apache.hadoop.hbase.procedure2.ProcedureUtil.StateSerializer
All Implemented Interfaces:
ProcedureStateSerializer
Enclosing class:
ProcedureUtil

private static class ProcedureUtil.StateSerializer extends Object implements ProcedureStateSerializer
A serializer for our Procedures. Instead of the previous serializer, it uses the stateMessage list to store the internal state of the Procedures.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder
     
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StateSerializer(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <M extends org.apache.hbase.thirdparty.com.google.protobuf.Message>
    M
    deserialize(Class<M> clazz)
     
    void
    serialize(org.apache.hbase.thirdparty.com.google.protobuf.Message message)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait