public static final class PoolAllocation.Dedicated extends java.lang.Object implements PoolAllocation
PoolAllocation.Dedicated, PoolAllocation.Shared, PoolAllocation.Unknown
Constructor and Description |
---|
Dedicated(java.lang.String resourceName,
long size)
Create a new dedicated
PoolAllocation . |
Modifier and Type | Method and Description |
---|---|
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 . |
public 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 allocationpublic long getSize()
PoolAllocation
.public java.lang.String getResourceName()
PoolAllocation
are made.