org.ehcache.clustered.common
Class PoolAllocation.Shared

java.lang.Object
  extended by org.ehcache.clustered.common.PoolAllocation.Shared
All Implemented Interfaces:
java.io.Serializable, PoolAllocation
Enclosing interface:
PoolAllocation

public static final class PoolAllocation.Shared
extends java.lang.Object
implements PoolAllocation

Describes a shared allocation for clustered storage. When using a shared pool, allocation requests are satisfied from the server-based shared resource pool identified.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ehcache.clustered.common.PoolAllocation
PoolAllocation.Dedicated, PoolAllocation.Shared, PoolAllocation.Unknown
 
Constructor Summary
PoolAllocation.Shared(java.lang.String resourcePoolName)
          Create a new shared PoolAllocation.
 
Method Summary
 java.lang.String getResourcePoolName()
          Gets the name of the server-side storage resource pool from which allocations for a store configured with this PoolAllocation are sub-allocated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolAllocation.Shared

public PoolAllocation.Shared(java.lang.String resourcePoolName)
Create a new shared PoolAllocation.

Parameters:
resourcePoolName - the server-side shared resource pool from which allocations are made
Method Detail

getResourcePoolName

public java.lang.String getResourcePoolName()
Gets the name of the server-side storage resource pool from which allocations for a store configured with this PoolAllocation are sub-allocated.

Returns:
the server-side resource pool name