|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.clustered.common.PoolAllocation.Dedicated
public static final class PoolAllocation.Dedicated
Describes a dedicated-size allocation for clustered storage. When using a dedicated allocation, storage is allocated from the server-based resource specified.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ehcache.clustered.common.PoolAllocation |
---|
PoolAllocation.Dedicated, PoolAllocation.Shared, PoolAllocation.Unknown |
Constructor Summary | |
---|---|
PoolAllocation.Dedicated(java.lang.String resourceName,
long size)
Create a new dedicated PoolAllocation . |
Method Summary | |
---|---|
java.lang.String |
getResourceName()
Gets the name of the server-side storage resource from which allocations for a store configured with this PoolAllocation are made. |
long |
getSize()
Gets the size, in bytes, for the dedicated allocation to make from the server-side storage resource for a store configured with this PoolAllocation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PoolAllocation.Dedicated(java.lang.String resourceName, long size)
PoolAllocation
.
resourceName
- the server-side resource from a dedicated-size allocation is made; if null
,
the allocation is made from the default resourcesize
- the size, in bytes, of the allocationMethod Detail |
---|
public long getSize()
PoolAllocation
.
public java.lang.String getResourceName()
PoolAllocation
are made.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |