Skip to content

Support locking documents in ReactiveFindByIdOperation #1059

Closed
@aaronjwhiteside

Description

@aaronjwhiteside

API Idea:

   final MyEntity entity = template.findById(MyEntity.class)
      .lock(Duration.ofSeconds(5))
      .one("abc123");

.lock() should also exist that takes no arguments and uses the default lock duration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions