Skip to content

Commit e9270fa

Browse files
committed
#289 refactor interface
1 parent 653e075 commit e9270fa

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

saturn-console-api/src/main/java/com/vip/saturn/job/console/service/StatisticsRefreshService.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
*/
88
public interface StatisticsRefreshService {
99

10-
void refreshStatistics(String zkClusterKey) throws SaturnJobConsoleException;
10+
void refreshBySameIdcConsole(String zkClusterKey) throws SaturnJobConsoleException;
1111

12-
void refreshStatistics2DB(boolean force);
13-
14-
void refreshStatistics2DB(String zkClusterKey) throws SaturnJobConsoleException;
12+
void refreshDirectly(String zkClusterKey) throws SaturnJobConsoleException;
1513

1614
}

saturn-console-core/src/main/java/com/vip/saturn/job/console/service/StatisticsRefreshService.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
*/
88
public interface StatisticsRefreshService {
99

10-
void refreshStatistics(String zkClusterKey) throws SaturnJobConsoleException;
10+
void refreshBySameIdcConsole(String zkClusterKey) throws SaturnJobConsoleException;
1111

12-
void refreshStatistics2DB(boolean force);
13-
14-
void refreshStatistics2DB(String zkClusterKey) throws SaturnJobConsoleException;
12+
void refreshDirectly(String zkClusterKey) throws SaturnJobConsoleException;
1513

1614
}

0 commit comments

Comments
 (0)