Class EhcacheTransactionSerializer
java.lang.Object
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.AbstractEhcacheSerializer<EhcacheTransaction>
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.EhcacheTransactionSerializer
- All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<EhcacheTransaction>
An Ehcache
Serializer implementation for storing an EhcacheTransaction in the cache.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EhcacheTransactiondeserialize(SerializerInputStream stream) Deserializes the data within the input stream.private Scnprotected voidserialize(EhcacheTransaction object, SerializerOutputStream stream) Serialize the specified object to the output stream.Methods inherited from class io.debezium.connector.oracle.logminer.processor.ehcache.serialization.AbstractEhcacheSerializer
equals, read, serialize
-
Constructor Details
-
EhcacheTransactionSerializer
-
-
Method Details
-
serialize
protected void serialize(EhcacheTransaction object, SerializerOutputStream stream) throws IOException Description copied from class:AbstractEhcacheSerializerSerialize the specified object to the output stream.- Specified by:
serializein classAbstractEhcacheSerializer<EhcacheTransaction>- Parameters:
object- the object to be serialized, should not benullstream- the output stream to write to, should not benull- Throws:
IOException- when a write operation fails on the output stream
-
deserialize
Description copied from class:AbstractEhcacheSerializerDeserializes the data within the input stream.- Specified by:
deserializein classAbstractEhcacheSerializer<EhcacheTransaction>- Parameters:
stream- the input stream to read, should not benull- Returns:
- the object deserialized from the input stream, should not be
null - Throws:
IOException- when a read operation fails on the input stream
-
readScn
-