shared
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
MonitorHandler Class Reference

A subclass of CleanupHandler for acquiring and releasing monitors. More...

#include <Common.hpp>

Inherits CleanupHandler< void >.

Public Member Functions

 MonitorHandler (JNIEnv *env, const jobject obj)
 Default constructor. More...
 
virtual void get ()
 Gets the resource.
 

Detailed Description

A subclass of CleanupHandler for acquiring and releasing monitors.

Constructor & Destructor Documentation

MonitorHandler::MonitorHandler ( JNIEnv *  env,
const jobject  obj 
)
explicit

Default constructor.

Parameters
envthe JNI environment.
objthe monitor.