public interface IdBlockAllocator
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.core.IdBlock |
allocateUniqueIdBlock()
Allocates a unique Id Block.
|
org.onosproject.core.IdBlock |
allocateUniqueIdBlock(long range)
Allocates next unique id and retrieve a new range of ids if needed.
|
org.onosproject.core.IdBlock allocateUniqueIdBlock()
org.onosproject.core.IdBlock allocateUniqueIdBlock(long range)
range - range to use for the identifier