com.espertech.esper.client.context
Interface ContextPartitionSelectorFiltered

All Superinterfaces:
ContextPartitionSelector

public interface ContextPartitionSelectorFiltered
extends ContextPartitionSelector

Selects context partitions by receiving a context partition identifier for interrogation.


Method Summary
 boolean filter(ContextPartitionIdentifier contextPartitionIdentifier)
          Filter function should return true or false to indicate interest in this context partition.
 

Method Detail

filter

boolean filter(ContextPartitionIdentifier contextPartitionIdentifier)
Filter function should return true or false to indicate interest in this context partition.

Do not hold on to ContextIdentifier instance between calls. The engine may reused an reassing values to this object.

Parameters:
contextPartitionIdentifier - provides context partition information, may
Returns:
true to pass filter, false to reject

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