You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
509 B
22 lines
509 B
3 years ago
|
package com.fr.plugin.xxxx.xxxx.menu;
|
||
|
|
||
|
import com.fr.plugin.context.PluginContext;
|
||
|
import com.fr.plugin.observer.inner.AbstractPluginLifecycleMonitor;
|
||
|
|
||
|
/**
|
||
|
* @Author fr.open
|
||
|
* @Date 2020/9/15
|
||
|
* @Description
|
||
|
**/
|
||
|
public class PluginLifecycleMonitor extends AbstractPluginLifecycleMonitor {
|
||
|
|
||
|
@Override
|
||
|
public void afterRun(PluginContext pluginContext) {
|
||
|
//MetricRegistry.register(new MyLogCacheMetric());
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void beforeStop(PluginContext pluginContext) {
|
||
|
}
|
||
|
}
|