build-artifacts/win/product/include/gfcpp/CqEvent.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CQ_EVENT_H__
00002 #define __GEMFIRE_CQ_EVENT_H__
00003 /*=========================================================================
00004  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *========================================================================
00009  */
00010 
00011 #include "gfcpp_globals.hpp"
00012 #include "gf_types.hpp"
00013 #include "Exception.hpp"
00014 #include "CqOperation.hpp"
00015 #include "Cacheable.hpp"
00016 #include "CacheableKey.hpp"
00017 #include "CacheableBuiltins.hpp"
00018 
00024 namespace gemfire
00025 {
00026 
00038 class CPPCACHE_EXPORT CqEvent
00039 {
00040 
00041   public:
00042   CqEvent(){}
00043 
00044   virtual ~CqEvent(){}
00050   virtual CqQueryPtr getCq() const = 0;
00051 
00056   virtual CqOperation::CqOperationType getBaseOperation() const = 0;
00057 
00063   virtual CqOperation::CqOperationType getQueryOperation() const = 0;
00064 
00070   virtual CacheableKeyPtr getKey() const = 0;
00071 
00078   virtual CacheablePtr getNewValue() const = 0;
00079 
00086   virtual CacheableBytesPtr getDeltaValue() const = 0;
00087 
00088   private:
00089     CqEvent( const CqEvent& );
00090     void operator = ( const CqEvent& );
00091 };
00092 } //namespace gemfire
00093 
00094 #endif //#ifndef __GEMFIRE_CQ_EVENT_H__

GemFire C++ Cache API Documentation