org.apache.cassandra.cache
Interface CacheKey
- All Known Implementing Classes:
- KeyCacheKey, RowCacheKey
public interface CacheKey
serializeForStorage
java.nio.ByteBuffer serializeForStorage()
- Returns:
- Serialized part of the key which should be persisted
serializedSize
int serializedSize()
- Returns:
- The size of the serialized key
getPathInfo
Pair<java.lang.String,java.lang.String> getPathInfo()
- Returns:
- The keyspace and ColumnFamily names to which this key belongs
Copyright © 2012 The Apache Software Foundation