A subclass of CleanupHandler for pinning and releasing arrays. More...
#include <Common.hpp>
Inherits CleanupHandler< void * >.
Public Types | |
| enum | jarray_type { DOUBLE, INT, BYTE, PRIMITIVE, STRING_UTF, STRING, STRING_PRIMITIVE, OBJECT } |
| An enumeration of Java array types. More... | |
| enum | release_mode { READ_WRITE = 0, READ_ONLY = JNI_ABORT } |
| An enumeration of array release modes. More... | |
Public Member Functions | |
| ArrayPinHandler (JNIEnv *env, const jarray array, jarray_type type, release_mode mode) | |
| Default constructor. More... | |
| virtual void * | get () |
| Gets the resource. | |
A subclass of CleanupHandler for pinning and releasing arrays.
An enumeration of Java array types.
|
explicit |
Default constructor.
| env | the JNI environment. |
| array | the array. |
| type | the array type. |
| mode | the release mode. |
1.8.3.1