Package org.jppf.serialization
Class JPPFCompositeSerialization
java.lang.Object
org.jppf.serialization.JPPFCompositeSerialization
- All Implemented Interfaces:
JPPFSerialization
- Direct Known Subclasses:
LZ4Serialization,ZLIBSerialization
Abstract super class for serialization schemes that delegate to another serialization scheme.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jppf.serialization.JPPFSerialization
JPPFSerialization.Factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal JPPFSerializationGet the concrete serialization to delegate to.abstract StringgetName()Get the name given to this composite serialization.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.serialization.JPPFSerialization
deserialize, serialize
-
Constructor Details
-
JPPFCompositeSerialization
public JPPFCompositeSerialization()
-
-
Method Details
-
getDelegate
Get the concrete serialization to delegate to.- Returns:
- the serialization scheme to compress/decompress.
-
getName
Get the name given to this composite serialization. The name is case-insensitive and must be unique among all defined composite serializations, otherwise it will either override, or be overriden by, a serialization with the same name.- Returns:
- the name of this composite serialization.
-