public void statusChanged(OptimizingStatus optimizingStatus, long statusSetTimestamp) {
    this.optimizingStatus = optimizingStatus;
    this.statusSetTimestamp = statusSetTimestamp;
  }
Handle table self optimizing status change event.

@param optimizingStatus new optimizing status
@param statusSetTimestamp timestamp of status changed.
amoro-ams/src/main/java/org/apache/amoro/server/table/TableOptimizingMetrics.java