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