@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() |
void |
setNextContainerId(long id) |
public BlockContainerIdGenerator()
BlockContainerIdGenerator
.public long getNewContainerId()
getNewContainerId
in interface ContainerIdGenerable
public void setNextContainerId(long id)
id
- the next container id to useCopyright © 2023. All Rights Reserved.