VMware GemFire Native Client Cache Reference  9.0.6
gemfire::SignalHandler Class Reference

Represents a signal handler used for dumping stacks and attaching a debugger. More...

Static Public Member Functions

static void dumpStack (char *dumpFile, size_t maxLen)
 Dump an image of the current process (core in UNIX, minidump in Windows) and filling the path of dump in provided buffer of given max size. More...
 
static bool getCrashDumpEnabled ()
 Returns whether CrashDump is enabled or not. More...
 
static const char * getCrashDumpLocation ()
 Returns CrashDump location. More...
 
static const char * getCrashDumpPrefix ()
 Returns CrashDump Prefix. More...
 
static void installBacktraceHandler ()
 Register the GemFire backtrace signal handler for signals that would otherwise core dump. More...
 
static void removeBacktraceHandler ()
 Remove the GemFire backtrace signal handler for signals that were previously registered. More...
 
static void waitForDebugger ()
 wait in a loop to allow a debugger to be manuallly attached and done is set to 1. More...
 

Detailed Description

Represents a signal handler used for dumping stacks and attaching a debugger.

Deprecated:
since 8.2.1.

Member Function Documentation

static void gemfire::SignalHandler::dumpStack ( char *  dumpFile,
size_t  maxLen 
)
static

Dump an image of the current process (core in UNIX, minidump in Windows) and filling the path of dump in provided buffer of given max size.

static bool gemfire::SignalHandler::getCrashDumpEnabled ( )
static

Returns whether CrashDump is enabled or not.

static const char* gemfire::SignalHandler::getCrashDumpLocation ( )
static

Returns CrashDump location.

static const char* gemfire::SignalHandler::getCrashDumpPrefix ( )
static

Returns CrashDump Prefix.

static void gemfire::SignalHandler::installBacktraceHandler ( )
static

Register the GemFire backtrace signal handler for signals that would otherwise core dump.

static void gemfire::SignalHandler::removeBacktraceHandler ( )
static

Remove the GemFire backtrace signal handler for signals that were previously registered.

static void gemfire::SignalHandler::waitForDebugger ( )
static

wait in a loop to allow a debugger to be manuallly attached and done is set to 1.


GemFire C++ Cache API Documentation