Package org.apache.cassandra.service
Class CacheService.RowCacheSerializer
- java.lang.Object
-
- org.apache.cassandra.cache.AutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
-
- org.apache.cassandra.service.CacheService.RowCacheSerializer
-
- Enclosing class:
- CacheService
public static class CacheService.RowCacheSerializer extends AutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
-
-
Constructor Summary
Constructors Constructor Description RowCacheSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<Pair<RowCacheKey,IRowCacheEntry>>
deserialize(DataInputPlus in)
void
serialize(RowCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs)
-
Methods inherited from class org.apache.cassandra.cache.AutoSavingCache.CacheSerializer
cleanupAfterDeserialize, cleanupAfterSerialize, deserializeMetadata, getOrCreateCFSOrdinal, readCFS, serializeMetadata, writeCFS
-
-
-
-
Method Detail
-
serialize
public void serialize(RowCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs) throws java.io.IOException
- Specified by:
serialize
in classAutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
- Throws:
java.io.IOException
-
deserialize
public Future<Pair<RowCacheKey,IRowCacheEntry>> deserialize(DataInputPlus in) throws java.io.IOException
- Specified by:
deserialize
in classAutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
- Throws:
java.io.IOException
-
-