shz.cache.CacheParam Maven / Gradle / Ivy
package shz.cache;
public abstract class CacheParam {
protected final CacheOperate operate;
protected final String key;
protected CacheParam(CacheOperate operate, String key) {
this.operate = operate;
this.key = key;
}
public CacheOperate operate() {
return operate;
}
public String key() {
return key;
}
@Override
public String toString() {
return "CacheParam{" +
"operate=" + operate +
", key='" + key + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy