-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from aliyun/feature/release-v1.1.7-2-fix-ut
update to release version 1.1.7-2 fix ut
- Loading branch information
Showing
7 changed files
with
155 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...onx-common/src/main/java/com/aliyun/migrationx/common/metrics/DefaultMetricCollector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
package com.aliyun.migrationx.common.metrics; | ||
|
||
import java.util.function.Consumer; | ||
|
||
import com.aliyun.migrationx.common.metrics.DolphinMetricsCollector.Summary; | ||
|
||
/** | ||
* default implement | ||
* @author 聿剑 | ||
* @date 2024/9/12 | ||
*/ | ||
public class DefaultMetricCollector implements MetricsCollector{ | ||
@Override | ||
public void setMetricsConsumer(Consumer<Metrics> consumer) { | ||
|
||
} | ||
|
||
@Override | ||
public void setTransformerType(String type) { | ||
|
||
} | ||
|
||
@Override | ||
public void setTotalTasks(int total) { | ||
|
||
} | ||
|
||
@Override | ||
public void markSuccessMiddleProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void markFailedSpecProcess(String workflowName, String nodeName) { | ||
|
||
} | ||
|
||
@Override | ||
public void markFailedMiddleProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void markSkippedProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void markTempSpecProcess(String workflowName, String nodeName) { | ||
|
||
} | ||
|
||
@Override | ||
public void markTempSpecProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void markSuccessSpecProcess(String workflowName, String nodeName) { | ||
|
||
} | ||
|
||
@Override | ||
public void markSuccessSpecProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void markSuccessSpecProcess(Metrics tmp, Consumer<Metrics> c) { | ||
|
||
} | ||
|
||
@Override | ||
public void markFailedSpecProcess(Metrics metrics) { | ||
|
||
} | ||
|
||
@Override | ||
public void finishCollector() { | ||
|
||
} | ||
|
||
@Override | ||
public void finishCollector(Consumer<Summary> c) { | ||
|
||
} | ||
|
||
@Override | ||
public Progress progress() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters