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(java.io.DataInputStream 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.IOException
public java.util.concurrent.Future<Pair<KeyCacheKey,RowIndexEntry>> deserialize(java.io.DataInputStream input, ColumnFamilyStore cfs) throws java.io.IOException
deserialize
in interface AutoSavingCache.CacheSerializer<KeyCacheKey,RowIndexEntry>
java.io.IOException
Copyright © 2016 The Apache Software Foundation