Project

General

Profile

Actions

Feature #4232

closed

librados: Improve Java bindings

Added by Wido den Hollander about 11 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
java
Target version:
-
% Done:

30%

Spent time:
Source:
Community (dev)
Tags:
java,jna
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

This is related to: #4231

The current state of the Java bindings is uncertain.

Two projects exist:

The first bindings are written by Noah Watkins who on the -devel list said they are not reliable. The status of rados4j is uncertain, but the last commit was about 2 years ago.

Since librados provides a C interface JNA ( https://github.com/twall/jna ) could be easier to use.

Actions #1

Updated by Wido den Hollander about 11 years ago

  • Category set to java
  • Assignee set to Wido den Hollander
  • % Done changed from 0 to 30
  • Estimated time set to 60:00 h

So I started work on this and am using JNA to do so.

The source can be found here: https://github.com/wido/rados-java

The bindings use JNA and not JNI as others have used. This means it uses librados (C) and doesn't require to be compiled against the librados development headers.

Unit tests are available and the current functionality should work fine.

Actions #2

Updated by Wido den Hollander about 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF