Package io.ebean.cache
Interface ServerCacheRegion
-
public interface ServerCacheRegion
Cache region can be enabled independently.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default StringgetName()Deprecated.booleanisEnabled()Return true if the cache region is enabled.Stringname()Return the region name.voidsetEnabled(boolean enabled)Set to true to enable the cache region.
-
-
-
Method Detail
-
getName
@Deprecated default String getName()
Deprecated.Deprecated migrate to name().
-
isEnabled
boolean isEnabled()
Return true if the cache region is enabled.
-
setEnabled
void setEnabled(boolean enabled)
Set to true to enable the cache region.
-
-