-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Passing bookmark to rediscover service
For bolt v4, when bookmark is passed into a session, if getRT call is invoked for that session, then the bookmark is passed down to the procedure call. Changed bookmark to be an object. The content of the object is transparent to driver users.
- Loading branch information
Zhen Li
committed
Jul 29, 2019
1 parent
5b7f678
commit e328d6c
Showing
107 changed files
with
2,208 additions
and
2,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
driver/src/main/java/org/neo4j/driver/internal/Bookmark.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2002-2019 "Neo4j," | ||
* Neo4j Sweden AB [http://neo4j.com] | ||
* | ||
* This file is part of Neo4j. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.neo4j.driver.internal; | ||
|
||
/** | ||
* Causal chaining is carried out by passing bookmarks between transactions. | ||
* | ||
* When starting a session with initial bookmarks, the first transaction will be ensured to run at least after | ||
* the database is as up-to-date as the latest transaction referenced by the supplied bookmarks. | ||
* | ||
* Within a session, bookmark propagation is carried out automatically. | ||
* Thus all transactions in a session including explicit and implicit transactions are ensured to be carried out one after another. | ||
* | ||
* To opt out of this mechanism for unrelated units of work, applications can use multiple sessions. | ||
*/ | ||
public interface Bookmark | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
182 changes: 0 additions & 182 deletions
182
driver/src/main/java/org/neo4j/driver/internal/Bookmarks.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.