All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.cache.CacheParam Maven / Gradle / Ivy

There is a newer version: 2.0
Show newest version
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