GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::proxy_vertex Class Reference

#include <graphlab/jni/org_graphlab_Updater.hpp>

List of all members.

Public Member Functions

 proxy_vertex (JNIEnv *env, jobject &obj)
jobject & obj ()
const jobject & obj () const

Protected Member Functions

void set_obj (jobject obj)
bool handle_exception (JNIEnv *env) const

Detailed Description

Proxy vertex

Definition at line 52 of file org_graphlab_Updater.hpp.


Constructor & Destructor Documentation

graphlab::proxy_vertex::proxy_vertex ( JNIEnv *  env,
jobject &  obj 
)
inline

Creates a new proxy_vertex and a new reference to the associated Java Vertex object (so that it doesn't get garbage collected.)

Parameters:
[in]envJNI environment, which will be used to create the reference to the Java object.
[in]objassociated org.graphlab.Core object.

Definition at line 62 of file org_graphlab_Updater.hpp.


Member Function Documentation

bool java_any::handle_exception ( JNIEnv *  env) const
protectedinherited

Checks for and rethrows Java exceptions.

Parameters:
[in]envJNI environment
Returns:
true if exception was found; false otherwise

Definition at line 117 of file java_any.cpp.

jobject & java_any::obj ( )
inherited

Retrieves the associated Java object

Definition at line 46 of file java_any.cpp.

void java_any::set_obj ( jobject  obj)
protectedinherited

Deletes the current ref (if any) and creates a new ref if obj is not null.

Parameters:
[in]objreplaces current object ref

Definition at line 93 of file java_any.cpp.


The documentation for this class was generated from the following file: