kr.pe.kwonnam.hibernate4memcached.timestamper.HibernateCacheTimestamper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate4-memcached-core Show documentation
Show all versions of hibernate4-memcached-core Show documentation
hibernate4 memcached L2 cache implementation.
package kr.pe.kwonnam.hibernate4memcached.timestamper;
import kr.pe.kwonnam.hibernate4memcached.memcached.MemcachedAdapter;
import kr.pe.kwonnam.hibernate4memcached.util.OverridableReadOnlyProperties;
import org.hibernate.cfg.Settings;
/**
* @author KwonNam Son ([email protected])
*/
public interface HibernateCacheTimestamper {
void setSettings(Settings settings);
void setProperties(OverridableReadOnlyProperties properties);
void setMemcachedAdapter(MemcachedAdapter memcachedAdapter);
/** initialize timestamp object */
void init();
/** get next timestamp */
long next();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy