Derecho  0.9
Distributed systems toolkit for RDMA
Functions | Variables
ObjectStoreService.cpp File Reference
#include <derecho/objectstore/ObjectStore.hpp>
#include "com_derecho_objectstore_ObjectStoreService.h"
#include <derecho/conf/conf.hpp>
#include <iostream>
#include <sstream>
#include <string.h>
Include dependency graph for ObjectStoreService.cpp:

Go to the source code of this file.

Functions

void throwJavaException (JNIEnv *env, const char *msg)
 
JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_put (JNIEnv *env, jobject obj, jlong oid, jstring jdata)
 
JNIEXPORT jboolean JNICALL Java_com_derecho_objectstore_ObjectStoreService_remove (JNIEnv *env, jobject obj, jlong oid)
 
JNIEXPORT jstring JNICALL Java_com_derecho_objectstore_ObjectStoreService_get (JNIEnv *env, jobject obj, jlong oid)
 
JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_leave (JNIEnv *env, jobject obj)
 
JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_initialize (JNIEnv *env, jobject obj, jstring jargv)
 

Variables

int argc
 
char ** argv
 

Function Documentation

◆ Java_com_derecho_objectstore_ObjectStoreService_get()

JNIEXPORT jstring JNICALL Java_com_derecho_objectstore_ObjectStoreService_get ( JNIEnv *  env,
jobject  obj,
jlong  oid 
)

Definition at line 46 of file ObjectStoreService.cpp.

◆ Java_com_derecho_objectstore_ObjectStoreService_initialize()

JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_initialize ( JNIEnv *  env,
jobject  obj,
jstring  jargv 
)

Definition at line 75 of file ObjectStoreService.cpp.

◆ Java_com_derecho_objectstore_ObjectStoreService_leave()

JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_leave ( JNIEnv *  env,
jobject  obj 
)

Definition at line 63 of file ObjectStoreService.cpp.

◆ Java_com_derecho_objectstore_ObjectStoreService_put()

JNIEXPORT void JNICALL Java_com_derecho_objectstore_ObjectStoreService_put ( JNIEnv *  env,
jobject  obj,
jlong  oid,
jstring  jdata 
)

Definition at line 15 of file ObjectStoreService.cpp.

◆ Java_com_derecho_objectstore_ObjectStoreService_remove()

JNIEXPORT jboolean JNICALL Java_com_derecho_objectstore_ObjectStoreService_remove ( JNIEnv *  env,
jobject  obj,
jlong  oid 
)

Definition at line 32 of file ObjectStoreService.cpp.

◆ throwJavaException()

void throwJavaException ( JNIEnv *  env,
const char *  msg 
)

Definition at line 7 of file ObjectStoreService.cpp.

Variable Documentation

◆ argc

int argc

Definition at line 11 of file ObjectStoreService.cpp.

◆ argv

char** argv

Definition at line 12 of file ObjectStoreService.cpp.