We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.
.lock()