Pivotal GemFire Native Client Cache Reference  9.0.6
ResultCollector.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_RESULTCOLLECTOR_H__
2 #define __GEMFIRE_RESULTCOLLECTOR_H__
3 /*=========================================================================
4  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *========================================================================
9  */
10 
11 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
13 #include "SharedPtr.hpp"
14 #include "VectorT.hpp"
15 #include "CacheableBuiltins.hpp"
16 
21 namespace gemfire {
47 : public SharedBase
48 {
52 public:
54  virtual ~ResultCollector();
64  virtual CacheableVectorPtr getResult(uint32_t timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT);
71  virtual void addResult(CacheablePtr& resultOfSingleExecution);
76  virtual void endResults();
83  virtual void clearResults();
84 
85 private:
86  CacheableVectorPtr m_resultList;
87  volatile bool m_isResultReady;
88 };
89 
90 } //namespace gemfire
91 #endif //ifndef __GEMFIRE_RESULTCOLLECTOR_H__
Contains generic template definitions for Cacheable types and instantiations for built-in types...
#define DEFAULT_QUERY_RESPONSE_TIMEOUT
default timeout for query response
Definition: gf_base.hpp:214
Defines the interface for a container that gathers results from function execution.
Definition: ResultCollector.hpp:46
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31

GemFire C++ Cache API Documentation