Skip to content

Add support for putIfAbsent to KeyValueAdapter #688

Description

@christophstrobl
public interface KeyValueAdapter ... {

    /**
     * Add object with given id to keyspace.
     *
     * @param id must not be {@literal null}.
     * @param keyspace must not be {@literal null}.
     * @return the item previously associated with the id.
     */
    @Nullable Object putIfAbsent(Object id, Object item, String keyspace);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions