Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
122 additions
and
140 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
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package net.jodah.recurrent; | ||
|
||
import java.util.concurrent.Future; | ||
import java.util.concurrent.ScheduledExecutorService; | ||
|
||
public interface ListenableFuture<T> extends Future<T> { | ||
ListenableFuture<T> whenComplete(CompletionListener<T> completionListener); | ||
|
||
ListenableFuture<T> whenCompleteAsync(CompletionListener<T> completionListener); | ||
ListenableFuture<T> whenCompleteAsync(CompletionListener<T> completionListener, Scheduler scheduler); | ||
|
||
ListenableFuture<T> whenCompleteAsync(CompletionListener<T> completionListener, ScheduledExecutorService executor); | ||
} |
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
Oops, something went wrong.