public class CQUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
cqOperationMethods |
protected static int[] |
cqOperations |
protected static String |
cqPrefix |
protected static int |
GET_CQ_ATTRIBUTES |
protected static int |
GET_CQ_NAME |
protected static int |
GET_CQ_RESULTS |
protected static int |
GET_QUERY |
protected static int |
GET_QUERY_STRING |
protected static int |
GET_STATISTICS |
| Constructor and Description |
|---|
CQUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
displaySelectResults() |
static void |
displaySelectResults(String cqName)
display SelectResults (using iterator)
|
static com.gemstone.gemfire.cache.query.CqQuery |
getCQ() |
static com.gemstone.gemfire.cache.query.CqQuery |
getCQ(String cqName)
Return the named ContinuousQuery
|
static String |
getCqName() |
static com.gemstone.gemfire.cache.query.SelectResults |
getCQResults()
Return the SelectResults for a default-named CQ
|
static com.gemstone.gemfire.cache.query.SelectResults |
getCQResults(String cqName) |
static com.gemstone.gemfire.cache.query.SelectResults |
getSelectResults(com.gemstone.gemfire.cache.query.CqResults cqResults)
This takes the CQ Results and returns the result in the
form of SelectResults without the key.
|
static void |
HydraTask_doCQOperations()
TASK that can be invoked by a bridgeClient thread to execute
random CQ operations on a randomly selected CQ (for 30 seconds with
each invocation).
|
static void |
HydraTask_verifyCQListenerInvoked()
CLOSETASK to verify that the CQListener was invoked at least
once.
|
static void |
HydraTask_verifyCQListenerProcessedServerInitiatedEvents()
CLOSETASK to verify that the CQListener processed:
- CQ Create Events for server side loads
Also documents that the server invoked local CacheListeners for LOCAL_LOAD_CREATE
|
static void |
initialize()
Initialize the one instance of CQUtil
|
static void |
initializeCQService()
Initialize the CQService
|
static void |
initializeCQService(boolean useClientCache) |
static com.gemstone.gemfire.cache.query.SelectResults |
registerAndCloseCQ(String cqName,
String query,
com.gemstone.gemfire.cache.Region aRegion)
Register a CQ and then closes it (Used for security.bt).
|
static com.gemstone.gemfire.cache.query.SelectResults |
registerCQ(com.gemstone.gemfire.cache.Region aRegion) |
static com.gemstone.gemfire.cache.query.SelectResults |
registerCQ(String cqName,
String query,
com.gemstone.gemfire.cache.Region aRegion)
Register a CQ.
|
static com.gemstone.gemfire.cache.query.SelectResults |
registerDurableCQ(com.gemstone.gemfire.cache.Region aRegion) |
static com.gemstone.gemfire.cache.query.SelectResults |
registerDurableCQ(String cqName,
String query,
com.gemstone.gemfire.cache.Region aRegion)
Register a durable CQ.
|
protected static final String cqPrefix
protected static final int GET_CQ_ATTRIBUTES
protected static final int GET_CQ_NAME
protected static final int GET_CQ_RESULTS
protected static final int GET_QUERY
protected static final int GET_QUERY_STRING
protected static final int GET_STATISTICS
protected static final int[] cqOperations
protected static final String[] cqOperationMethods
public static void initialize()
public static void initializeCQService()
public static void initializeCQService(boolean useClientCache)
public static com.gemstone.gemfire.cache.query.SelectResults registerCQ(com.gemstone.gemfire.cache.Region aRegion)
public static com.gemstone.gemfire.cache.query.SelectResults registerDurableCQ(com.gemstone.gemfire.cache.Region aRegion)
public static com.gemstone.gemfire.cache.query.SelectResults registerCQ(String cqName, String query, com.gemstone.gemfire.cache.Region aRegion)
public static com.gemstone.gemfire.cache.query.SelectResults registerDurableCQ(String cqName, String query, com.gemstone.gemfire.cache.Region aRegion)
public static com.gemstone.gemfire.cache.query.SelectResults registerAndCloseCQ(String cqName, String query, com.gemstone.gemfire.cache.Region aRegion) throws com.gemstone.gemfire.cache.query.CqException
com.gemstone.gemfire.cache.query.CqExceptionpublic static com.gemstone.gemfire.cache.query.CqQuery getCQ()
public static com.gemstone.gemfire.cache.query.CqQuery getCQ(String cqName)
public static com.gemstone.gemfire.cache.query.SelectResults getCQResults()
public static com.gemstone.gemfire.cache.query.SelectResults getCQResults(String cqName)
public static com.gemstone.gemfire.cache.query.SelectResults getSelectResults(com.gemstone.gemfire.cache.query.CqResults cqResults)
public static void displaySelectResults()
public static void displaySelectResults(String cqName)
public static String getCqName()
public static void HydraTask_doCQOperations()
public static void HydraTask_verifyCQListenerInvoked()
public static void HydraTask_verifyCQListenerProcessedServerInitiatedEvents()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.