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 String
getName()
Deprecated.boolean
isEnabled()
Return true if the cache region is enabled.String
name()
Return the region name.void
setEnabled(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.
-
-