public static final class PoolAllocation.Dedicated extends java.lang.Object implements PoolAllocation.DedicatedPoolAllocation
PoolAllocation.Dedicated, PoolAllocation.DedicatedPoolAllocation, PoolAllocation.Shared, PoolAllocation.SharedPoolAllocation, 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. |
boolean |
isCompatible(PoolAllocation other) |
java.lang.String |
toString() |
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.getSize in interface PoolAllocation.DedicatedPoolAllocationpublic java.lang.String getResourceName()
PoolAllocation are made.getResourceName in interface PoolAllocation.DedicatedPoolAllocationpublic boolean isCompatible(PoolAllocation other)
isCompatible in interface PoolAllocationpublic java.lang.String toString()
toString in class java.lang.Object