getQueryService

Return the QueryService for this region service.
For a region service in a client the returned QueryService will
execute queries on the server.
For a region service not in a client the returned QueryService will
execute queries on the local and peer regions.

close

void close()

Terminates this region service and releases all its resources.
Calls Region.close() on each region in the service.
After this service is closed, any further
method calls on this service or any region object
obtained from the service will throw
CacheClosedException, unless otherwise noted.

isClosed

boolean isClosed()

Indicates if this region service has been closed.
After a new service is created, this method returns false;
After close is called on this service, this method
returns true. This method does not throw CacheClosedException
if the service is closed.

Returns:

true, if this service has just been created or has started to close; false, otherwise