Class ContextPartitionIdentifierHash
java.lang.Object
com.espertech.esper.common.client.context.ContextPartitionIdentifier
com.espertech.esper.common.client.context.ContextPartitionIdentifierHash
- All Implemented Interfaces:
Serializable
Context partition identifier for hash context.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.espertech.esper.common.client.context.ContextPartitionIdentifier
getContextPartitionId, setContextPartitionId
-
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
Description copied from class:ContextPartitionIdentifier
Compare identifiers returning a boolean indicator whether identifier information matches.- Specified by:
compareTo
in classContextPartitionIdentifier
- Parameters:
other
- to compare to- Returns:
- true for objects identifying the same context partition (could be different context)
-
toString
-