Skip to content

GSD

Sections
Personal tools
You are here: Home » Members » jop's Home » JNI Binding to FlushSpread and Spread

JNI Binding to FlushSpread and Spread

Document Actions

This is a Java Native Interface (JNI) binding to Spread and FlushSpread group communication toolkits. It was originally developed to allow FlushSpread to be used in Java applications. JNI was required as FlushSpread is implemented as a client-side C library. Later it was extended to include an alternative Java interface to Spread. Noteworthy features are:

  • The C API is followed as closely as possible. Call by reference is accomplished by using auxiliary classes containing relevant parameters (envelopes). See the on-line documentation for details.
  • There is no need to allocate heap objects for each API call: all buffers can be reused. This should minimize the pressure on the garbage collector.
  • Buffer management is based on java.nio. Native byte buffers are supported, allowing zero additional copies to the C API.
IMPORTANTE NOTICE: You might also want to look at jGCS, an universal interface for group communication in Java, which uses this same JNI infrastructure but eases porting to multiple protocol implementations.

Download

The latest source release is spread-jni-20050221.tar.gz.

Disclaimer

Spread and FlushSpread are separate packages distributed under their own license and must be obtained separately. This package is not in any way endorsed or supported by the authors of Spread and FlushSpread.

Created by jop
Last modified 2006-02-20 12:15 PM
 

Powered by Plone

This site conforms to the following standards: