VMware VMware GemFire Native C++ Reference 10.4.3
Loading...
Searching...
No Matches
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.
 
 CacheableObjectArray (int32_t n)
 Create a vector with n elements allocated.
 

Static Public Member Functions

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

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