com.espertech.esper.client.context
Class ContextPartitionIdentifierPartitioned

java.lang.Object
  extended by com.espertech.esper.client.context.ContextPartitionIdentifier
      extended by com.espertech.esper.client.context.ContextPartitionIdentifierPartitioned
All Implemented Interfaces:
java.io.Serializable

public class ContextPartitionIdentifierPartitioned
extends ContextPartitionIdentifier

Context partition identifier for segmented contexts.

See Also:
Serialized Form

Constructor Summary
ContextPartitionIdentifierPartitioned()
          Ctor.
ContextPartitionIdentifierPartitioned(java.lang.Object[] keys)
          Ctor.
 
Method Summary
 boolean compareTo(ContextPartitionIdentifier other)
          Compare identifiers returning a boolean indicator whether identifier information matches.
 java.lang.Object[] getKeys()
          Returns the partition keys.
 void setKeys(java.lang.Object[] keys)
          Sets the partition keys.
 java.lang.String toString()
           
 
Methods inherited from class com.espertech.esper.client.context.ContextPartitionIdentifier
getContextPartitionId, setContextPartitionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextPartitionIdentifierPartitioned

public ContextPartitionIdentifierPartitioned()
Ctor.


ContextPartitionIdentifierPartitioned

public ContextPartitionIdentifierPartitioned(java.lang.Object[] keys)
Ctor.

Parameters:
keys - partitioning keys
Method Detail

getKeys

public java.lang.Object[] getKeys()
Returns the partition keys.

Returns:
keys

setKeys

public void setKeys(java.lang.Object[] keys)
Sets the partition keys.

Parameters:
keys - to set

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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com