Class ProtoAndProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.store.ProtoAndProcedure
when loading we will iterator the procedures twice, so use this class to cache the deserialized
result to prevent deserializing multiple times.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionProtoAndProcedure
(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure proto) -
Method Summary
-
Field Details
-
proto
-
proc
-
-
Constructor Details
-
ProtoAndProcedure
public ProtoAndProcedure(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure proto)
-
-
Method Details
-
getProcedure
- Throws:
IOException
-
getProto
-