Package net.carcdr.ycrdt
Class YBindingFactory
java.lang.Object
net.carcdr.ycrdt.YBindingFactory
Factory for explicitly selecting a Y-CRDT binding implementation.
-
Method Summary
-
Method Details
-
auto
Returns the default binding discovered via ServiceLoader.- Returns:
- the binding instance
- Throws:
IllegalStateException- if no binding is found
-
jni
Returns the JNI binding implementation.- Returns:
- the JNI binding
- Throws:
IllegalStateException- if the JNI binding is not available
-
panama
Returns the Panama FFM binding implementation.- Returns:
- the Panama binding
- Throws:
IllegalStateException- if the Panama binding is not available
-