org.ehcache.clustered.client.config
Interface ClusteredResourcePool

All Superinterfaces:
org.ehcache.config.ResourcePool
All Known Subinterfaces:
DedicatedClusteredResourcePool, SharedClusteredResourcePool

public interface ClusteredResourcePool
extends org.ehcache.config.ResourcePool

Defines a resource supported by a server-based resource.


Method Summary
 PoolAllocation getPoolAllocation()
          Converts this ClusteredResourcePool into the PoolAllocation used by the cluster server.
 ClusteredResourceType<? extends ClusteredResourcePool> getType()
           
 
Methods inherited from interface org.ehcache.config.ResourcePool
isPersistent, validateUpdate
 

Method Detail

getType

ClusteredResourceType<? extends ClusteredResourcePool> getType()
Specified by:
getType in interface org.ehcache.config.ResourcePool

getPoolAllocation

PoolAllocation getPoolAllocation()
Converts this ClusteredResourcePool into the PoolAllocation used by the cluster server.

Returns:
a PoolAllocation instance created from this ClusteredResourcePool