JNI Binding to FlushSpread and Spread
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.
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.