mirror of https://github.com/longtai-cn/hippo4j
parent
d78c330235
commit
055c48c6d2
@ -1,24 +1,24 @@
|
|||||||
package com.github.dynamic.threadpool.starter.wrap;
|
package com.github.dynamic.threadpool.starter.wrapper;
|
||||||
|
|
||||||
import com.github.dynamic.threadpool.starter.core.Listener;
|
import com.github.dynamic.threadpool.starter.core.Listener;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manager listener wrap.
|
* Manager listener wrapper.
|
||||||
*
|
*
|
||||||
* @author chen.ma
|
* @author chen.ma
|
||||||
* @date 2021/6/22 17:47
|
* @date 2021/6/22 17:47
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
public class ManagerListenerWrap {
|
public class ManagerListenerWrapper {
|
||||||
|
|
||||||
private String lastCallMd5;
|
private String lastCallMd5;
|
||||||
|
|
||||||
final Listener listener;
|
final Listener listener;
|
||||||
|
|
||||||
public ManagerListenerWrap(String md5, Listener listener) {
|
public ManagerListenerWrapper(String md5, Listener listener) {
|
||||||
this.lastCallMd5 = md5;
|
this.lastCallMd5 = md5;
|
||||||
this.listener = listener;
|
this.listener = listener;
|
||||||
}
|
}
|
Loading…
Reference in new issue