GemFire 6.5.1

com.gemstone.gemfire.cache.query
Interface CqAttributes


public interface CqAttributes

This interface holds all attribute values for a CQ and provides methods for retrieving all attribute settings. This interface can be modified only by the CqAttributesFactory class (before CQ creation) and the CqAttributesMutator interface (after CQ creation). For compatibility rules and default values, see CqAttributesFactory.

Since:
5.5

Method Summary
 CqListener getCqListener()
          Get the CqListener set with the CQ.
 CqListener[] getCqListeners()
          Get the CqListeners set with the CQ.
 

Method Detail

getCqListeners

CqListener[] getCqListeners()
Get the CqListeners set with the CQ. Returns all the Listener associated with this CQ.

Returns:
CQListener[] array of CqListner
See Also:
CqListener

getCqListener

CqListener getCqListener()
Get the CqListener set with the CQ. Returns the CqListener associated with the CQ. If there are more than one CqListener throws IllegalStateException.

Returns:
CqListener Object, returns null if there is no CqListener.
See Also:
CqListener

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.