-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
object store implementation. #705
Conversation
… some shared code. Also fixes some documentation and removes beta tag from KV
…ect-store-partial-1
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.
LGTM
/** | ||
* Get the name of the object store's bucket. | ||
* THIS IS A BETA FEATURE AND SUBJECT TO CHANGE | ||
* @return the name |
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.
please add API comments
ObjectInfo put(ObjectMeta meta, InputStream inputStream) throws IOException, JetStreamApiException, NoSuchAlgorithmException; | ||
ObjectInfo put(String name, InputStream inputStream) throws IOException, JetStreamApiException, NoSuchAlgorithmException; | ||
ObjectInfo put(String name, byte[] input) throws IOException, JetStreamApiException, NoSuchAlgorithmException; | ||
ObjectInfo put(File file) throws IOException, JetStreamApiException, NoSuchAlgorithmException; |
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.
ByteBuffer?
* The FeatureOptions class specifies the general options for features. | ||
* Options are created using the {@link FeatureOptions.Builder Builder}. | ||
*/ | ||
public class FeatureOptions { |
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.
Should this be abstract?
Object Store Implementation and Test
Additional unit test coverage.
Also fixes some documentation and removes beta tag from KV