Package com.gigaspaces.metadata
Class SpaceTypeDescriptorVersionedSerializationUtils
java.lang.Object
com.gigaspaces.metadata.SpaceTypeDescriptorVersionedSerializationUtils
Provided utility methods to serialize/deserialize space type descriptors. The serialiable form
contains a version header which allowes it to be deserialized to a version compatible space type
descriptor
- Since:
- 9.1.1
- Author:
- Dan Kilman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpaceTypeDescriptorfromSerializableForm(Serializable versionedSerializableForm) Reads the version header for the given serializable form and returned a SpaceTypeDescriptor matching that versionstatic SerializabletoSerializableForm(SpaceTypeDescriptor typeDescriptor)
-
Constructor Details
-
SpaceTypeDescriptorVersionedSerializationUtils
public SpaceTypeDescriptorVersionedSerializationUtils()
-
-
Method Details
-
toSerializableForm
- Returns:
- A serializable form of the given type descriptor that upon serialization will write a version header
-
fromSerializableForm
Reads the version header for the given serializable form and returned a SpaceTypeDescriptor matching that version- Returns:
- the original SpaceTypeDescriptor passed to the method toSerializableForm
-