Skip to content

Commit 5a46931

Browse files
committed
Merged master
1 parent b117607 commit 5a46931

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/main/java/org/dataloader/DataLoader.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,21 +160,6 @@ public Duration getTimeSinceDispatch() {
160160
return Duration.between(helper.getLastDispatchTime(), helper.now());
161161
}
162162

163-
/**
164-
* Requests to load the data with the specified key asynchronously, and returns a future of the resulting value.
165-
* <p>
166-
* If batching is enabled (the default), you'll have to call {@link DataLoader#dispatch()} at a later stage to
167-
* start batch execution. If you forget this call the future will never be completed (unless already completed,
168-
* and returned from cache).
169-
*
170-
* @param key the key to load
171-
*
172-
* @return the future of the value
173-
*/
174-
public CompletableFuture<V> load(K key) {
175-
return load(key, null);
176-
}
177-
178163
/**
179164
* This will return an optional promise to a value previously loaded via a {@link #load(Object)} call or empty if not call has been made for that key.
180165
* <p>

0 commit comments

Comments
 (0)