public class DirectoryId extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DirectoryId.UnmodifiableDirectoryId
Immutable view of a DirectoryId.
|
Constructor and Description |
---|
DirectoryId()
Creates a new DirectoryId starting at (0, 0).
|
Modifier and Type | Method and Description |
---|---|
long |
getContainerId() |
long |
getSequenceNumber() |
DirectoryId.UnmodifiableDirectoryId |
getUnmodifiableView() |
void |
setContainerId(long containerId) |
void |
setSequenceNumber(long sequenceNumber) |
public long getContainerId()
public void setContainerId(long containerId)
containerId
- the container ID to setpublic long getSequenceNumber()
public void setSequenceNumber(long sequenceNumber)
sequenceNumber
- the sequence number to setpublic DirectoryId.UnmodifiableDirectoryId getUnmodifiableView()
Copyright © 2023. All Rights Reserved.