@EachProperty(value="ehcache.cluster.resource-pools") public class EhcacheClusterResourcePoolConfiguration extends AbstractResourcePoolConfiguration implements io.micronaut.core.naming.Named
Constructor and Description |
---|
EhcacheClusterResourcePoolConfiguration(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getServerResource() |
void |
setServerResource(String serverResource) |
getMaxSize, setMaxSize
public static final String PREFIX
public EhcacheClusterResourcePoolConfiguration(@Parameter String name)
name
- the resource pool name@NonNull public String getName()
getName
in interface io.micronaut.core.naming.Named
public String getServerResource()
public void setServerResource(String serverResource)
serverResource
- the server resource