diff --git a/bindings/c/include/opendal.h b/bindings/c/include/opendal.h index 76f84f93341e..3560737dda2d 100644 --- a/bindings/c/include/opendal.h +++ b/bindings/c/include/opendal.h @@ -585,6 +585,10 @@ typedef struct opendal_capability { * If it is not set, this will be zero */ uintptr_t batch_max_operations; + /** + * If operator supports shared. + */ + bool shared; /** * If operator supports blocking. */ diff --git a/bindings/java/src/lib.rs b/bindings/java/src/lib.rs index 1428d04e5a11..d19da1fb2fb6 100644 --- a/bindings/java/src/lib.rs +++ b/bindings/java/src/lib.rs @@ -94,7 +94,7 @@ fn make_operator_info<'a>(env: &mut JNIEnv<'a>, info: OperatorInfo) -> Result(env: &mut JNIEnv<'a>, cap: Capability) -> Result> { let capability = env.new_object( "org/apache/opendal/Capability", - "(ZZZZZZZZZZZZZZZJJZZZZZZZZZZZZZZJZ)V", + "(ZZZZZZZZZZZZZZZJJZZZZZZZZZZZZZZJZZ)V", &[ JValue::Bool(cap.stat as jboolean), JValue::Bool(cap.stat_with_if_match as jboolean),