Package org.apache.cassandra.service
Class CacheService.RowCacheSerializer
- java.lang.Object
-
- org.apache.cassandra.service.CacheService.RowCacheSerializer
-
- All Implemented Interfaces:
AutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
- Enclosing class:
- CacheService
public static class CacheService.RowCacheSerializer extends java.lang.Object implements AutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
-
-
Constructor Summary
Constructors Constructor Description RowCacheSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Future<Pair<RowCacheKey,IRowCacheEntry>>
deserialize(DataInputPlus in, ColumnFamilyStore cfs)
void
serialize(RowCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs)
-
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.AutoSavingCache.CacheSerializer
cleanupAfterDeserialize
-
-
-
-
Method Detail
-
serialize
public void serialize(RowCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs) throws java.io.IOException
- Specified by:
serialize
in interfaceAutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
- Throws:
java.io.IOException
-
deserialize
public java.util.concurrent.Future<Pair<RowCacheKey,IRowCacheEntry>> deserialize(DataInputPlus in, ColumnFamilyStore cfs) throws java.io.IOException
- Specified by:
deserialize
in interfaceAutoSavingCache.CacheSerializer<RowCacheKey,IRowCacheEntry>
- Throws:
java.io.IOException
-
-