@ThreadSafe public final class BlockContainerIdGenerator extends Object implements ContainerIdGenerable
Constructor and Description |
---|
BlockContainerIdGenerator()
Creates a new instance of
BlockContainerIdGenerator . |
Modifier and Type | Method and Description |
---|---|
long |
getNewContainerId() |
long |
getNextContainerId() |
long |
peekNewContainerId() |
void |
setNextContainerId(long id) |
public BlockContainerIdGenerator()
BlockContainerIdGenerator
.public long getNewContainerId()
getNewContainerId
in interface ContainerIdGenerable
public long getNextContainerId()
public long peekNewContainerId()
public void setNextContainerId(long id)
id
- the next container id to useCopyright © 2023. All Rights Reserved.