AutoSavingCache.CacheSerializer (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.cache

## Interface AutoSavingCache.CacheSerializer<K extends CacheKey,V>

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

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.concurrent.Future<Pair<K,V>>` | `deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`
    `void` | `serialize(K key, DataOutputPlus out)`

- - ### Method Detail

    - #### serialize

          void serialize(K key,
                       DataOutputPlus 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`

Copyright © 2014 The Apache Software Foundation