public static class CacheService.KeyCacheSerializer extends java.lang.Object implements AutoSavingCache.CacheSerializer<KeyCacheKey,RowIndexEntry>
| Constructor and Description |
|---|
KeyCacheSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<Pair<KeyCacheKey,RowIndexEntry>> |
deserialize(DataInputPlus input,
ColumnFamilyStore cfs) |
void |
serialize(KeyCacheKey key,
DataOutputPlus out,
ColumnFamilyStore cfs) |
public void serialize(KeyCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs) throws java.io.IOException
serialize in interface AutoSavingCache.CacheSerializer<KeyCacheKey,RowIndexEntry>java.io.IOExceptionpublic java.util.concurrent.Future<Pair<KeyCacheKey,RowIndexEntry>> deserialize(DataInputPlus input, ColumnFamilyStore cfs) throws java.io.IOException
deserialize in interface AutoSavingCache.CacheSerializer<KeyCacheKey,RowIndexEntry>java.io.IOExceptionCopyright © 2018 The Apache Software Foundation