Package io.ebeaninternal.server.deploy
Class DCacheRegion
- java.lang.Object
-
- io.ebeaninternal.server.deploy.DCacheRegion
-
- All Implemented Interfaces:
ServerCacheRegion
,SpiCacheRegion
public class DCacheRegion extends Object implements SpiCacheRegion
-
-
Constructor Summary
Constructors Constructor Description DCacheRegion(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Return the region name.boolean
isEnabled()
Return true if the cache region is enabled.void
setEnabled(boolean enabled)
Set to true to enable the cache region.
-
-
-
Constructor Detail
-
DCacheRegion
public DCacheRegion(String name)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ServerCacheRegion
Return the region name.- Specified by:
getName
in interfaceServerCacheRegion
-
isEnabled
public boolean isEnabled()
Description copied from interface:ServerCacheRegion
Return true if the cache region is enabled.- Specified by:
isEnabled
in interfaceServerCacheRegion
-
setEnabled
public void setEnabled(boolean enabled)
Description copied from interface:ServerCacheRegion
Set to true to enable the cache region.- Specified by:
setEnabled
in interfaceServerCacheRegion
-
-