Class ClusteredProperties.PropertyKey<T extends Serializable>

  • All Implemented Interfaces:
    com.oracle.coherence.common.base.Associated<String>, com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, com.tangosol.net.cache.KeyAssociation<String>, Serializable
    Enclosing class:
    ClusteredProperties

    public static class ClusteredProperties.PropertyKey<T extends Serializable>
    extends Object
    implements com.tangosol.io.ExternalizableLite, com.tangosol.net.cache.KeyAssociation<String>, com.tangosol.io.pof.PortableObject
    Property key.
    See Also:
    Serialized Form
    • Field Detail

      • m_sTaskId

        protected String m_sTaskId
        Task ID.
    • Constructor Detail

      • PropertyKey

        public PropertyKey()
        Deserialization constructor.
      • PropertyKey

        public PropertyKey​(String sTaskId,
                           T oKey)
        Construct a PropertyKey instance.
        Parameters:
        sTaskId - task ID
        oKey - property key
    • Method Detail

      • getAssociatedKey

        public String getAssociatedKey()
        Specified by:
        getAssociatedKey in interface com.oracle.coherence.common.base.Associated<T extends Serializable>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTaskId

        public String getTaskId()
        Return the task ID.
        Returns:
        task ID
      • getKey

        public T getKey()
        Return the property key.
        Returns:
        property key
      • readExternal

        public void readExternal​(DataInput in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(DataOutput out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • readExternal

        public void readExternal​(com.tangosol.io.pof.PofReader in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(com.tangosol.io.pof.PofWriter out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException