public class ServerCQProxyImpl
extends org.apache.geode.cache.client.internal.ServerProxy
| Constructor and Description |
|---|
ServerCQProxyImpl(org.apache.geode.cache.client.internal.InternalPool pool)
Creates a server CQ proxy for the given pool name.
|
ServerCQProxyImpl(org.apache.geode.cache.client.internal.ServerProxy sp)
Creates a server CQ proxy given using the same pool as that of the given server proxy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
Does a CQ close on all relevant servers
|
java.lang.Object |
create(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
Create a continuous query on the given pool
|
java.lang.Object |
createOn(java.lang.String cqName,
org.apache.geode.cache.client.internal.Connection conn,
java.lang.String queryStr,
int cqState,
boolean isDurable,
byte regionDataPolicy)
Create a continuous query on the given server
|
org.apache.geode.cache.query.SelectResults |
createWithIR(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
Create a continuous query on the given server and return the initial query results.
|
java.util.List<java.lang.String> |
getAllDurableCqsFromServer() |
void |
stop(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
Does a CQ stop on all relevant servers
|
public ServerCQProxyImpl(org.apache.geode.cache.client.internal.InternalPool pool)
pool - the pool that this proxy will use to communicate with serverspublic ServerCQProxyImpl(org.apache.geode.cache.client.internal.ServerProxy sp)
sp - server proxy whose pool we are to usepublic java.lang.Object create(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
cq - the CQ to create on the serverpublic java.lang.Object createOn(java.lang.String cqName,
org.apache.geode.cache.client.internal.Connection conn,
java.lang.String queryStr,
int cqState,
boolean isDurable,
byte regionDataPolicy)
conn - the connection to usecqName - name of the CQ to createqueryStr - string OQL statement to be executedcqState - int cqState to be set.isDurable - true if CQ is durableregionDataPolicy - the data policy ordinal of the regionpublic org.apache.geode.cache.query.SelectResults createWithIR(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
cq - the CQ to create on the serverpublic void stop(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
cq - the CQ to stop on the serverpublic void close(org.apache.geode.cache.query.internal.cq.ClientCQ cq)
cq - the CQ to close on the serverpublic java.util.List<java.lang.String> getAllDurableCqsFromServer()