|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.core.config.ResourcePoolsImpl
public class ResourcePoolsImpl
Implementation of the ResourcePools interface.
| Constructor Summary | |
|---|---|
ResourcePoolsImpl(java.util.Map<ResourceType,ResourcePool> pools)
|
|
| Method Summary | |
|---|---|
ResourcePool |
getPoolForResource(ResourceType resourceType)
Get a specific ResourcePool based on its type. |
java.util.Set<ResourceType> |
getResourceTypeSet()
Get the set of ResourceType of all the pools present in the ResourcePools |
ResourcePools |
validateAndMerge(ResourcePools toBeUpdated)
Get a copy of the current ResourcePools merged with another ResourcePools and validate that
the updates to the contained ResourcePools are legal. |
static void |
validateResourcePools(java.util.Collection<? extends ResourcePool> pools)
Validates some required relationships between core resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourcePoolsImpl(java.util.Map<ResourceType,ResourcePool> pools)
| Method Detail |
|---|
public ResourcePool getPoolForResource(ResourceType resourceType)
ResourcePool based on its type.
getPoolForResource in interface ResourcePoolsresourceType - the type of resource the pool is tracking.
ResourcePool, or null if there is no pool tracking the requested type.public java.util.Set<ResourceType> getResourceTypeSet()
ResourceType of all the pools present in the ResourcePools
getResourceTypeSet in interface ResourcePoolsResourceTypepublic ResourcePools validateAndMerge(ResourcePools toBeUpdated)
ResourcePools merged with another ResourcePools and validate that
the updates to the contained ResourcePools are legal.
validateAndMerge in interface ResourcePoolstoBeUpdated - the ResourcePools to merge with the current one.
ResourcePools copy.public static void validateResourcePools(java.util.Collection<? extends ResourcePool> pools)
core resources.
pools - the resource pools to validate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||