org.ehcache.clustered.client.config
Interface DedicatedClusteredResourcePool
- All Superinterfaces:
- ClusteredResourcePool, org.ehcache.config.ResourcePool, org.ehcache.config.SizedResourcePool
public interface DedicatedClusteredResourcePool
- extends ClusteredResourcePool, org.ehcache.config.SizedResourcePool
Specifies a ClusteredResourcePool
reserving space from a server-based clustered resource.
A FixedClusteredResourcePool
uses dedicated space on the server.
Method Summary |
java.lang.String |
getFromResource()
Identifies the server-side clustered resource from which space for this pool is reserved. |
org.ehcache.config.units.MemoryUnit |
getUnit()
|
Methods inherited from interface org.ehcache.config.SizedResourcePool |
getSize |
Methods inherited from interface org.ehcache.config.ResourcePool |
isPersistent, validateUpdate |
getUnit
org.ehcache.config.units.MemoryUnit getUnit()
-
- Specified by:
getUnit
in interface org.ehcache.config.SizedResourcePool
- Returns:
getFromResource
java.lang.String getFromResource()
- Identifies the server-side clustered resource from which space for this pool is reserved.
If no server resource is identified, the resource identified in the server configuration as
the default is used.
- Returns:
- the server-side clustered resource id; may be
null