Class NodeVersionKey

  • All Implemented Interfaces:
    java.io.Serializable

    public class NodeVersionKey
    extends java.lang.Object
    implements java.io.Serializable
    Key for caches that need to be bound implicitly to the current version of a node.
    Since:
    4.0
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeVersionKey​(java.lang.Long nodeId, java.lang.Long version)  
    • Constructor Detail

      • NodeVersionKey

        public NodeVersionKey​(java.lang.Long nodeId,
                              java.lang.Long version)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getNodeId

        public java.lang.Long getNodeId()
      • getVersion

        public java.lang.Long getVersion()