Skip to content

Commit

Permalink
#Fixed#
Browse files Browse the repository at this point in the history
Build error
  • Loading branch information
hui.zhao committed Feb 24, 2020
1 parent 7784a80 commit 462fcc8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,38 @@ public interface AppInfoConext {
List<AppInfoLabel> getAppInfo();
}

public static void work(Context context) {
//no op
/**
* set app informations,it will show on the top of dashboard
*
* @param appInfoConext
*/
public static void injectAppInfoConext(AppInfoConext appInfoConext) {
}

public static void work(Context context, int port) {
//no op
public static synchronized void work(Context context) {
}

public static void shutDown() {
//no op
/**
* monitor start work
*/
public static synchronized void work(Context context, int port) {
}

public static void injectAppInfoConext(AppInfoConext appInfoConext) {
//no op
/**
* monitor stop work
*/
public static synchronized void shutDown() {
}

public static Context getContext() {
return null;
}

@Deprecated
public static void setClassPrefixOfAppProcess(List<String> classPathPrefixes) {
// no op
}

@Deprecated
public static void setThreadRunningProcessClassifier(ThreadRunningProcessClassifier threadRunningProcessClassifier) {
// no op
}

public static Context getContext() {
// no op
return null;
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package cn.hikyson.godeye.monitor.modules.thread;

/**
* @deprecated use {@link cn.hikyson.godeye.core.internal.modules.thread.ThreadTagger} to {@link cn.hikyson.godeye.core.internal.modules.thread.ThreadConfig#threadTagger}
*/
@Deprecated
public interface ThreadRunningProcessClassifier {
}

0 comments on commit 462fcc8

Please sign in to comment.