Class PofUserType

  • All Implemented Interfaces:
    PofValue

    public class PofUserType
    extends PofSparseArray
    PofUserType is PofValue implementation for user types.
    Since:
    Coherence 3.5
    Author:
    as 2009.02.12
    • Field Detail

      • m_nVersion

        protected int m_nVersion
        The data version of this value.
    • Constructor Detail

      • PofUserType

        public PofUserType​(PofValue valueParent,
                           ReadBuffer bufValue,
                           PofContext ctx,
                           int of,
                           int nType,
                           int ofChildren,
                           int nVersion)
        Construct a PofUserType instance wrapping the supplied buffer.
        Parameters:
        valueParent - parent value within the POF stream
        bufValue - buffer containing POF representation of this value
        ctx - POF context to use when reading or writing properties
        of - offset of this value from the beginning of POF stream
        nType - POF type identifier for this value
        ofChildren - offset of the first child element within this value
        nVersion - data version of this value
    • Method Detail

      • getVersion

        public int getVersion()
        Return the data version of this value.
        Returns:
        the data version of this value