gemfire::MembershipListener Class Reference

Inherits gemfire::SharedBase.


Detailed Description

This interface does not apply for native clients.

Public Member Functions

virtual void handleEvent (MemberIdPtr &memberId, MembershipEvent op, PropertiesPtr &data)
 Process event regarding membership to the cache.
virtual void memberDeparted (MemberIdPtr &memberId)=0
 This functionality is unsupported in the Native Client Product.
virtual void memberInfo (MemberIdPtr &memberId, PropertiesPtr &data)=0
 This functionality is unsupported in the Native Client Product.
virtual void memberJoined (MemberIdPtr &memberId)=0
 This functionality is unsupported in the Native Client Product.
void preserveSB () const
 Atomically increment reference count.
int32_t refCount ()
 
Returns:
the reference count

void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.

Member Function Documentation

virtual void gemfire::MembershipListener::handleEvent ( MemberIdPtr memberId,
MembershipEvent  op,
PropertiesPtr data 
) [virtual]

Process event regarding membership to the cache.

virtual void gemfire::MembershipListener::memberDeparted ( MemberIdPtr memberId  )  [pure virtual]

This functionality is unsupported in the Native Client Product.

virtual void gemfire::MembershipListener::memberInfo ( MemberIdPtr memberId,
PropertiesPtr data 
) [pure virtual]

This functionality is unsupported in the Native Client Product.

virtual void gemfire::MembershipListener::memberJoined ( MemberIdPtr memberId  )  [pure virtual]

This functionality is unsupported in the Native Client Product.

void gemfire::SharedBase::preserveSB (  )  const [inherited]

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount (  )  [inline, inherited]

Returns:
the reference count

void gemfire::SharedBase::releaseSB (  )  const [inherited]

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


GemFire C++ Cache API Documentation