io.ebean.cache.ServerCacheRegion Maven / Gradle / Ivy
package io.ebean.cache;
/**
* Cache region can be enabled independently.
*/
public interface ServerCacheRegion {
/**
* Return the region name.
*/
String name();
/**
* Return true if the cache region is enabled.
*/
boolean isEnabled();
/**
* Set to true to enable the cache region.
*/
void setEnabled(boolean enabled);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy