Class ProtoAndProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.store.ProtoAndProcedure

@Private public class ProtoAndProcedure extends Object
when loading we will iterator the procedures twice, so use this class to cache the deserialized result to prevent deserializing multiple times.
  • Field Summary

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

    Constructors
    Constructor
    Description
    ProtoAndProcedure(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure proto)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • proto

      private final org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure proto
    • proc

      private Procedure<?> proc
  • Constructor Details

    • ProtoAndProcedure

      public ProtoAndProcedure(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure proto)
  • Method Details