Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::cp::session_aware_proxy Class Reference
+ Inheritance diagram for hazelcast::cp::session_aware_proxy:

Public Member Functions

 session_aware_proxy (const std::string &service_name, const std::string &proxy_name, client::spi::ClientContext *context, const raft_group_id &group_id, const std::string &object_name, internal::session::proxy_session_manager &session_manager)
 
- Public Member Functions inherited from hazelcast::cp::cp_proxy
 cp_proxy (const std::string &service_name, const std::string &proxy_name, client::spi::ClientContext *context, const raft_group_id &group_id, const std::string &object_name)
 
const raft_group_idget_group_id () const
 

Protected Member Functions

void release_session (int64_t session_id)
 Decrements acquire count of the session. More...
 
- Protected Member Functions inherited from hazelcast::cp::cp_proxy
void on_destroy ()
 

Protected Attributes

internal::session::proxy_session_manager & session_manager_
 
- Protected Attributes inherited from hazelcast::cp::cp_proxy
raft_group_id group_id_
 
std::string object_name_
 

Detailed Description

Definition at line 70 of file cp.h.

Member Function Documentation

◆ release_session()

void hazelcast::cp::session_aware_proxy::release_session ( int64_t  session_id)
protected

Decrements acquire count of the session.

Returns silently if no session exists for the given id.

Definition at line 710 of file cp.cpp.

710  {
711  session_manager_.release_session(group_id_, session_id);
712  }

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