gemfire_admin::LogEvent Class Reference

Inherits gemfire::SharedBase.


Detailed Description

An event delivered to a LogListener when a CacheApplication's log changes.

Author:
Jim Nist

Public Member Functions

const char * getLogLines ()
 Returns the new contents of the Log.
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.

Protected Member Functions

 LogEvent (const char *text)
 Creates a new MembershipEvent for the member with the text.

Constructor & Destructor Documentation

gemfire_admin::LogEvent::LogEvent ( const char *  text  )  [protected]

Creates a new MembershipEvent for the member with the text.


Member Function Documentation

const char* gemfire_admin::LogEvent::getLogLines (  ) 

Returns the new contents of the Log.

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