public interface IReferenceBucket extends IBucket
Modifier and Type | Field and Description |
---|---|
static int |
GUARANTEED_INDIRECT_OFFSET
Guaranteed Indirect Offset from any ReferenceBucket.
|
Modifier and Type | Method and Description |
---|---|
byte[][] |
getReferenceHashs()
Getting the HashValues mapped to the references guarding the integrity of the referenced buckets.
|
long[] |
getReferenceKeys()
Getting the keys of the referenced buckets.
|
void |
setReferenceHash(int pIndex,
byte[] pHash)
Setting the hash of a referenced bucket to this bucket.
|
void |
setReferenceKey(int pIndex,
long pKey)
Setting one key of a bucket to be referenced from this bucket.
|
getBucketKey, secureHash, serialize
static final int GUARANTEED_INDIRECT_OFFSET
long[] getReferenceKeys()
void setReferenceKey(int pIndex, long pKey)
pIndex
- offset of the key to be referencedpKey
- the key of the bucket to be referencedbyte[][] getReferenceHashs()
void setReferenceHash(int pIndex, byte[] pHash)
pIndex
- where the hash should be applied topHash
- to be stored inCopyright © 2013. All Rights Reserved.