org.terracotta.cache.serialization
Class DsoSerializationStrategy3<T>
java.lang.Object
org.terracotta.cache.serialization.DsoSerializationStrategy<T>
org.terracotta.cache.serialization.DsoSerializationStrategy2<T>
org.terracotta.cache.serialization.DsoSerializationStrategy3<T>
- Type Parameters:
T - value type
- All Implemented Interfaces:
- SerializationStrategy<T>, SerializationStrategy2<T>, SerializationStrategy3<T>, UnsafeSerializationStrategy<T>
public class DsoSerializationStrategy3<T>
- extends DsoSerializationStrategy2<T>
- implements SerializationStrategy3<T>
V3 DsoSerializationStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DsoSerializationStrategy3
public DsoSerializationStrategy3()
localDeserializeStringKey
public Object localDeserializeStringKey(String key)
throws IOException,
ClassNotFoundException
- Description copied from interface:
SerializationStrategy3
- 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
- Specified by:
localDeserializeStringKey in interface SerializationStrategy3<T>
- Parameters:
key - key to deserialize
- Returns:
- the deserialized key object or null if operation cannot be performed with local data
- Throws:
IOException
ClassNotFoundException
localDeserializeStringKey
public Object localDeserializeStringKey(String key,
ClassLoader loader)
throws IOException,
ClassNotFoundException
- Description copied from interface:
SerializationStrategy3
- 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
- Specified by:
localDeserializeStringKey in interface SerializationStrategy3<T>
- 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.