public class RowCacheKey extends java.lang.Object implements CacheKey, java.lang.Comparable<RowCacheKey>
| Constructor and Description |
|---|
RowCacheKey(java.util.UUID cfId,
byte[] key) |
RowCacheKey(java.util.UUID cfId,
java.nio.ByteBuffer key) |
RowCacheKey(java.util.UUID cfId,
DecoratedKey key) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RowCacheKey otherKey) |
boolean |
equals(java.lang.Object o) |
java.util.UUID |
getCFId() |
int |
hashCode() |
java.lang.String |
toString() |
long |
unsharedHeapSize() |
public RowCacheKey(java.util.UUID cfId,
byte[] key)
public RowCacheKey(java.util.UUID cfId,
DecoratedKey key)
public RowCacheKey(java.util.UUID cfId,
java.nio.ByteBuffer key)
public java.util.UUID getCFId()
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(RowCacheKey otherKey)
compareTo in interface java.lang.Comparable<RowCacheKey>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation