Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add async CheckpointDao methods. #17

Closed
wants to merge 1 commit into from
Closed

Add async CheckpointDao methods. #17

wants to merge 1 commit into from

Conversation

wnbts
Copy link
Member

@wnbts wnbts commented Dec 20, 2019

Adds methods to CheckpointDao with async implementations.

@wnbts wnbts marked this pull request as ready for review December 20, 2019 22:09
public void putModelCheckpoint(String modelId, String modelCheckpoint, ActionListener<Void> listener) {
Map<String, Object> source = new HashMap<>();
source.put(FIELD_MODEL, modelCheckpoint);
client.index(new IndexRequest(indexName, DOC_TYPE, modelId).source(source), ActionListener.wrap(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use ClientUtil. This applies to all of your code.

@wnbts wnbts closed this Jan 21, 2020
@wnbts wnbts deleted the mm-1-cp branch May 26, 2020 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants