VMware Tanzu GemFire Native C++ Reference 10.2.7
apache::geode::client::CacheableObjectArray Class Reference

Implements an immutable Vector of Cacheable objects that can serve as a distributable object for caching. More...

#include <CacheableObjectArray.hpp>

Inherits internal::DataSerializablePrimitive, and std::vector< std::shared_ptr< Cacheable > >.

Public Member Functions

 CacheableObjectArray ()
 Constructor, used for deserialization. More...
 
 CacheableObjectArray (int32_t n)
 Create a vector with n elements allocated. More...
 

Static Public Member Functions

static std::shared_ptr< CacheableObjectArraycreate ()
 Factory method for creating the default instance of CacheableObjectArray. More...
 
static std::shared_ptr< CacheableObjectArraycreate (int32_t n)
 Factory method for creating an instance of CacheableObjectArray with given size. More...
 
static std::shared_ptr< SerializablecreateDeserializable ()
 creation function for java Object[] More...
 

Detailed Description

Implements an immutable Vector of Cacheable objects that can serve as a distributable object for caching.

Constructor & Destructor Documentation

◆ CacheableObjectArray() [1/2]

apache::geode::client::CacheableObjectArray::CacheableObjectArray ( )
inline

Constructor, used for deserialization.

◆ CacheableObjectArray() [2/2]

apache::geode::client::CacheableObjectArray::CacheableObjectArray ( int32_t  n)
inlineexplicit

Create a vector with n elements allocated.

Member Function Documentation

◆ create() [1/2]

static std::shared_ptr< CacheableObjectArray > apache::geode::client::CacheableObjectArray::create ( )
inlinestatic

Factory method for creating the default instance of CacheableObjectArray.

◆ create() [2/2]

static std::shared_ptr< CacheableObjectArray > apache::geode::client::CacheableObjectArray::create ( int32_t  n)
inlinestatic

Factory method for creating an instance of CacheableObjectArray with given size.

◆ createDeserializable()

static std::shared_ptr< Serializable > apache::geode::client::CacheableObjectArray::createDeserializable ( )
inlinestatic

creation function for java Object[]


Apache Geode C++ Cache API Documentation