Class ContextPartitionIdentifierHash

java.lang.Object
com.espertech.esper.common.client.context.ContextPartitionIdentifier
com.espertech.esper.common.client.context.ContextPartitionIdentifierHash
All Implemented Interfaces:
Serializable

public class ContextPartitionIdentifierHash extends ContextPartitionIdentifier
Context partition identifier for hash context.
See Also:
  • Constructor Details

    • ContextPartitionIdentifierHash

      public ContextPartitionIdentifierHash()
      Ctor.
    • ContextPartitionIdentifierHash

      public ContextPartitionIdentifierHash(int hash)
      Ctor.
      Parameters:
      hash - code
  • Method Details

    • getHash

      public int getHash()
      Returns the hash code.
      Returns:
      hash code
    • setHash

      public void setHash(int hash)
      Sets the hash code.
      Parameters:
      hash - hash code
    • compareTo

      public boolean compareTo(ContextPartitionIdentifier other)
      Description copied from class: ContextPartitionIdentifier
      Compare identifiers returning a boolean indicator whether identifier information matches.
      Specified by:
      compareTo in class ContextPartitionIdentifier
      Parameters:
      other - to compare to
      Returns:
      true for objects identifying the same context partition (could be different context)
    • toString

      public String toString()
      Overrides:
      toString in class Object