@API(status=STABLE, since="6.1.1") public final class Neo4jBookmarkManager extends Object
Modifier and Type | Method and Description |
---|---|
static Neo4jBookmarkManager |
create() |
static Neo4jBookmarkManager |
create(Supplier<Set<org.neo4j.driver.Bookmark>> bookmarksSupplier)
Use this factory method to add supplier of initial "seeding" bookmarks to the transaction managers
While this class will make sure that the supplier will be accessed in a thread-safe manner,
it us the callers duty to provide thread safe supplier (not changing the seed in during a call etc).
|
public static Neo4jBookmarkManager create()
public static Neo4jBookmarkManager create(@Nullable Supplier<Set<org.neo4j.driver.Bookmark>> bookmarksSupplier)
While this class will make sure that the supplier will be accessed in a thread-safe manner, it us the callers duty to provide thread safe supplier (not changing the seed in during a call etc).
bookmarksSupplier
- A supplier for seeding bookmarks, can be null. The supplier is free to provide different
bookmarks on each call.Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.