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