Class EhcacheClusterResourcePoolConfiguration
java.lang.Object
io.micronaut.cache.ehcache.configuration.AbstractResourcePoolConfiguration
io.micronaut.cache.ehcache.configuration.EhcacheClusterResourcePoolConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
@EachProperty("ehcache.cluster.resource-pools")
public class EhcacheClusterResourcePoolConfiguration
extends AbstractResourcePoolConfiguration
implements io.micronaut.core.naming.Named
Resource pool configurations.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getName()
void
setServerResource
(String serverResource) Methods inherited from class io.micronaut.cache.ehcache.configuration.AbstractResourcePoolConfiguration
getMaxSize, setMaxSize
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
EhcacheClusterResourcePoolConfiguration
- Parameters:
name
- the resource pool name
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
getServerResource
- Returns:
- the server resource
-
setServerResource
- Parameters:
serverResource
- the server resource
-