org.apache.cassandra.cache
Interface AutoSavingCache.CacheSerializer<K extends CacheKey,V>

All Known Implementing Classes:
CacheService.KeyCacheSerializer, CacheService.RowCacheSerializer
Enclosing class:
AutoSavingCache<K extends CacheKey,V>

public static interface AutoSavingCache.CacheSerializer<K extends CacheKey,V>


Method Summary
 java.util.concurrent.Future<Pair<K,V>> deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)
           
 void load(java.util.Set<java.nio.ByteBuffer> buffer, ColumnFamilyStore cfs)
          Deprecated. 
 void serialize(K key, java.io.DataOutput out)
           
 

Method Detail

serialize

void serialize(K key,
               java.io.DataOutput out)
               throws java.io.IOException
Throws:
java.io.IOException

deserialize

java.util.concurrent.Future<Pair<K,V>> deserialize(java.io.DataInputStream in,
                                                   ColumnFamilyStore cfs)
                                                                    throws java.io.IOException
Throws:
java.io.IOException

load

@Deprecated
void load(java.util.Set<java.nio.ByteBuffer> buffer,
                     ColumnFamilyStore cfs)
Deprecated. 



Copyright © 2013 The Apache Software Foundation