.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    IPortable Interface

    Namespace: Hazelcast.Serialization
    Assembly: Hazelcast.Net.dll

    Portable provides an alternative serialization method.

    public interface IPortable
    Remarks

    Portable provides an alternative serialization method. Instead of relying on reflection, each Portable is created by a registere IPortableFactory.

    Portable serialization that have the following advantages:
    • Support multiversion of the same object type. (See )
    • Fetching individual fields without having to rely on reflection.
    • Querying and indexing support without de-serialization and/or reflection.

    Properties

    Name Description
    ClassId

    Returns class identifier for this portable class.

    FactoryId

    Returns PortableFactory id for this portable class

    Methods

    Name Description
    ReadPortable(IPortableReader)

    Read portable fields using PortableReader

    WritePortable(IPortableWriter)

    Serialize this portable object using PortableWriter

    See Also

    IPortableFactory
    IPortableWriter
    IPortableReader
    IClassDefinition
    IIdentifiedDataSerializable
    SerializationOptions
    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.