public class TagPosition extends Object
Constructor and Description |
---|
TagPosition(int bucketIndex,
int slotIndex,
alluxio.client.file.cache.cuckoofilter.CuckooStatus status)
Create a tag position with given position and status.
|
Modifier and Type | Method and Description |
---|---|
int |
getBucketIndex() |
int |
getSlotIndex() |
alluxio.client.file.cache.cuckoofilter.CuckooStatus |
getStatus() |
void |
setBucketAndSlot(int bucket,
int slot)
Set the bucket and slot.
|
void |
setBucketIndex(int bucketIndex)
Set the bucket index.
|
void |
setSlotIndex(int slotIndex)
Set the slot index.
|
void |
setStatus(alluxio.client.file.cache.cuckoofilter.CuckooStatus status)
Set the status of this tag position.
|
String |
toString() |
public TagPosition(int bucketIndex, int slotIndex, alluxio.client.file.cache.cuckoofilter.CuckooStatus status)
bucketIndex
- the bucket indexslotIndex
- the slotstatus
- the statuspublic int getBucketIndex()
public void setBucketIndex(int bucketIndex)
bucketIndex
- the bucket indexpublic int getSlotIndex()
public void setSlotIndex(int slotIndex)
slotIndex
- the slotpublic alluxio.client.file.cache.cuckoofilter.CuckooStatus getStatus()
public void setStatus(alluxio.client.file.cache.cuckoofilter.CuckooStatus status)
status
- the statuspublic void setBucketAndSlot(int bucket, int slot)
bucket
- the bucketslot
- the slotCopyright © 2023. All Rights Reserved.