org.terracotta.cache.serialization
Interface SerializationStrategy3<T>
- Type Parameters:
T - value type
- All Superinterfaces:
- SerializationStrategy<T>, SerializationStrategy2<T>
- All Known Implementing Classes:
- DsoSerializationStrategy3
public interface SerializationStrategy3<T>
- extends SerializationStrategy2<T>
Serialization strategy V3
localDeserializeStringKey
Object localDeserializeStringKey(String key)
throws IOException,
ClassNotFoundException
- Try to deserialize a given key object into the "real" key object. This method assumes it is passed Strings created
from generateStringKeyFor() on this class
- Parameters:
key - key to deserialize
- Returns:
- the deserialized key object or null if operation cannot be performed with local data
- Throws:
IOException
ClassNotFoundException
localDeserializeStringKey
Object localDeserializeStringKey(String key,
ClassLoader loader)
throws IOException,
ClassNotFoundException
- Try to deserialize a given key object into the "real" key object. This method assumes it is passed Strings created
from generateStringKeyFor() on this class
- Parameters:
key - key to deserializeloader - classloader to use
- Returns:
- the deserialized key object or null if operation cannot be performed with local data
- Throws:
IOException
ClassNotFoundException
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.