Class PrefixBlockAllocator.AllocatedBlock<E extends IPAddress>
java.lang.Object
inet.ipaddr.PrefixBlockAllocator.AllocatedBlock<E>
- Type Parameters:
E- the address type
- Enclosing class:
PrefixBlockAllocator<E extends IPAddress>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal EThe allocated prefix block.final BigIntegerThe number of requested addresses.final intThe number of reserved addresses. -
Method Summary
-
Field Details
-
blockSize
The number of requested addresses. -
block
-
reservedCount
public final int reservedCountThe number of reserved addresses.
-
-
Method Details
-
getCount
Returns the total number of addresses within the block. blockSize + reservedCount will not exceed this value.- Returns:
-
toString
-