rLoadSinkBuild.setAgeOfLastAppliedOp(sinkMetrics.getAgeOfLastAppliedOp()); rLoadSinkBuild.setTimeStampsOfLastAppliedOp(sinkMetrics.getTimestampOfLastAppliedOp()); this.replicationLoadSink = rLoadSinkBuild.build();
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder setReplLoadSink( org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder builderForValue) { if (replLoadSinkBuilder_ == null) { replLoadSink_ = builderForValue.build(); onChanged(); } else { replLoadSinkBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /**
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }
/** * <pre> ** * The replicationLoadSink for the replication Sink status of this region server. * </pre> * * <code>optional .hbase.pb.ReplicationLoadSink replLoadSink = 11;</code> */ public Builder setReplLoadSink( org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder builderForValue) { if (replLoadSinkBuilder_ == null) { replLoadSink_ = builderForValue.build(); onChanged(); } else { replLoadSinkBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /**
public static ClusterStatusProtos.ReplicationLoadSink toReplicationLoadSink( ReplicationLoadSink rls) { return ClusterStatusProtos.ReplicationLoadSink.newBuilder() .setAgeOfLastAppliedOp(rls.getAgeOfLastAppliedOp()) .setTimeStampsOfLastAppliedOp(rls.getTimestampsOfLastAppliedOp()) .build(); }