static Object getData(final KVStoreClosure closure) {
        return closure == null ? null : closure.getData();
    }
Gets data from closure.

@param closure callback
@return closure data
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/storage/BaseRawKVStore.java