![JAR search and dependency download from the Maven repository](/logo.png)
com.googlecode.memcachefy.memcached.CacheWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of memcachefy Show documentation
Show all versions of memcachefy Show documentation
Java API for Rapidly Enable Caching for Web Applications and Services
package com.googlecode.memcachefy.memcached;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
/**
* Wrapper for caching generic objects
*
* @author bhlangonijr
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class CacheWrapper implements Serializable {
private T object;
public CacheWrapper() {
}
public CacheWrapper(final T object) {
this.object = object;
}
public T getObject() {
return object;
}
public void setObject(T object) {
this.object = object;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy