Apache Ignite C++
Public Member Functions | Friends | List of all members
ignite::cache::event::JavaCacheEntryEventFilter Class Reference

Java cache entry event filter. More...

#include <java_cache_entry_event_filter.h>

Public Member Functions

 JavaCacheEntryEventFilter ()
 Default constructor.
 
 JavaCacheEntryEventFilter (const std::string &factoryClassName)
 Constructor. More...
 
virtual ~JavaCacheEntryEventFilter ()
 Destructor.
 
const std::string & GetFactoryClassName () const
 Get Java remote filter factory class name. More...
 
template<typename T >
void SetProperty (const std::string &name, const T &value)
 Add property. More...
 
void ClearProperties ()
 Clear set properties. More...
 

Friends

class ignite::impl::cache::event::JavaCacheEntryEventFilterHolder
 

Detailed Description

Java cache entry event filter.

All templated types should be default-constructable, copy-constructable and assignable.

Constructor & Destructor Documentation

◆ JavaCacheEntryEventFilter()

ignite::cache::event::JavaCacheEntryEventFilter::JavaCacheEntryEventFilter ( const std::string &  factoryClassName)
inline

Constructor.

Parameters
factoryClassNameName of the Java factory class.

Member Function Documentation

◆ ClearProperties()

void ignite::cache::event::JavaCacheEntryEventFilter::ClearProperties ( )
inline

Clear set properties.

Set properties for the filter to empty set.

◆ GetFactoryClassName()

const std::string& ignite::cache::event::JavaCacheEntryEventFilter::GetFactoryClassName ( ) const
inline

Get Java remote filter factory class name.

Returns
Java factory class name.

◆ SetProperty()

template<typename T >
void ignite::cache::event::JavaCacheEntryEventFilter::SetProperty ( const std::string &  name,
const T &  value 
)
inline

Add property.

Template argument type should be copy-constructable and assignable. Also BinaryType class template should be specialized for this type.

Parameters
nameProperty name.
valueProperty value.

The documentation for this class was generated from the following file: