|
|||||||||
| 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
| 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)
|
| 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)
ResourcePoolsResourcePool 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()
ResourcePoolsResourceType of all the pools present in the ResourcePools
getResourceTypeSet in interface ResourcePoolsResourceTypepublic ResourcePools validateAndMerge(ResourcePools toBeUpdated)
ResourcePoolsResourcePools 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||