private static String buildKey(final String groupId, final Class<?> cls) {
        Requires.requireNonNull(cls, "cls");
        if (Objects.isNull(groupId)) {
            return cls.getName();
        }
        return groupId + "-" + cls.getName();
    }
Releases all storage options from the responsibility of freeing the
underlying native C++ object.

Note, that once an instance of options has been released, calling any
of its functions will lead to undefined behavior.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/StorageOptionsFactory.java