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 Details

  • Constructor Details

    • EhcacheClusterResourcePoolConfiguration

      public EhcacheClusterResourcePoolConfiguration(@Parameter String name)
      Parameters:
      name - the resource pool name
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • getServerResource

      public String getServerResource()
      Returns:
      the server resource
    • setServerResource

      public void setServerResource(String serverResource)
      Parameters:
      serverResource - the server resource