-
Notifications
You must be signed in to change notification settings - Fork 370
Conversation
@@ -7,48 +7,190 @@ | |||
import java.util.Set; | |||
|
|||
/** | |||
* Created by paul on 3/2/17 for iri. | |||
* Abstracts access to the data persisitence layer. | |||
* Will handle the initialization and connections to the storage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what I think about the future tense, b/c it's an interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Pair<Indexable, Persistable> latest(Class<?> model, Class<?> indexModel) throws Exception; | ||
|
||
/** | ||
* Given 2 types of {@link Persistable} types that should be indexed with the same keys, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many "type"s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Persistable get(Class<?> model, Indexable index) throws Exception; | ||
|
||
/** | ||
* Checks with a certain degree of certainity whether we have a value indexed at a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many "certain"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Co-Authored-By: GalRogozinski <galrogogit@gmail.com>
# Conflicts: # src/main/java/com/iota/iri/storage/PersistenceProvider.java # src/main/java/com/iota/iri/storage/Tangle.java
@jakubcech |
Description
Document Persistence Provider
Fixes #1118
Type of change