Package org.apache.cassandra.cache
Class CacheKey
- java.lang.Object
-
- org.apache.cassandra.cache.CacheKey
-
- All Implemented Interfaces:
IMeasurableMemory
- Direct Known Subclasses:
CounterCacheKey
,KeyCacheKey
,RowCacheKey
public abstract class CacheKey extends java.lang.Object implements IMeasurableMemory
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CacheKey(TableId tableId, java.lang.String indexName)
CacheKey(TableMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
sameTable(TableMetadata tableMetadata)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cache.IMeasurableMemory
unsharedHeapSize
-
-
-
-
Field Detail
-
tableId
public final TableId tableId
-
indexName
public final java.lang.String indexName
-
-
Constructor Detail
-
CacheKey
protected CacheKey(TableId tableId, java.lang.String indexName)
-
CacheKey
public CacheKey(TableMetadata metadata)
-
-
Method Detail
-
sameTable
public boolean sameTable(TableMetadata tableMetadata)
-
-