Concurrent, distributed client implementation of std::unordered_set.  
 More...
#include <ISet.h>
 | 
| std::string  | addItemListener (ItemListener< E > &listener, bool includeValue) | 
|   | Warning 1: If listener should do a time consuming operation, off-load the operation to another thread.  More...
  | 
|   | 
| bool  | removeItemListener (const std::string ®istrationId) | 
|   | Removes the specified item listener.  More...
  | 
|   | 
| int  | size () | 
|   | 
| bool  | isEmpty () | 
|   | 
| bool  | contains (const E &element) | 
|   | 
| std::vector< E >  | toArray () | 
|   | 
| bool  | add (const E &element) | 
|   | 
| bool  | remove (const E &element) | 
|   | 
| bool  | containsAll (const std::vector< E > &elements) | 
|   | 
| bool  | addAll (const std::vector< E > &elements) | 
|   | 
| bool  | removeAll (const std::vector< E > &elements) | 
|   | 
| bool  | retainAll (const std::vector< E > &elements) | 
|   | Removes the elements from this set that are not available in given "elements" vector.  More...
  | 
|   | 
| 
void  | clear () | 
|   | Removes all elements from set. 
  | 
|   | 
 | 
| 
class  | HazelcastClient | 
|   | 
| 
class  | adaptor::RawPointerSet< E > | 
|   | 
template<typename E>
class hazelcast::client::ISet< E >
Concurrent, distributed client implementation of std::unordered_set. 
- Template Parameters
 - 
  
  
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if element is added successfully. If elements was already there returns false. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if all elements given in vector can be added to set. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
Warning 1: If listener should do a time consuming operation, off-load the operation to another thread. 
otherwise it will slow down the system.
Warning 2: Do not make a call to hazelcast. It can cause deadlock.
- Parameters
 - 
  
    | listener | to be added  | 
    | includeValue | boolean value representing value should be included in incoming ItemEvent or not.  | 
  
   
- Returns
 - registrationId that can be used to remove item listener 
 
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if set contains element 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if this set contains all elements given in vector. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if element is removed successfully. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
- Parameters
 - 
  
  
 
- Returns
 - true if all elements are removed successfully. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
Removes the specified item listener. 
Returns false if the specified listener is not added before.
- Parameters
 - 
  
    | registrationId | Id of listener registration. | 
  
   
- Returns
 - true if registration is removed, false otherwise 
 
 
 
Removes the elements from this set that are not available in given "elements" vector. 
- Parameters
 - 
  
  
 
- Returns
 - true if operation is successful. 
 
- Exceptions
 - 
  
    | IClassCastException | if the type of the specified element is incompatible with the server side.  | 
  
   
 
 
- Returns
 - size of the distributed set 
 
 
 
- Returns
 - all elements as std::vector 
 
 
 
The documentation for this class was generated from the following file:
- hazelcast/include/hazelcast/client/ISet.h