Remove use of deprecated methods in java docs
This commit is contained in:
parent
50979d599c
commit
8476a90d1f
11 changed files with 18 additions and 22 deletions
|
|
@ -23,11 +23,7 @@ public class TellPatternJavaActor extends AbstractActor {
|
|||
this.breaker = new CircuitBreaker(
|
||||
getContext().dispatcher(), getContext().system().scheduler(),
|
||||
5, Duration.ofSeconds(10), Duration.ofMinutes(1))
|
||||
.onOpen(new Runnable() {
|
||||
public void run() {
|
||||
notifyMeOnOpen();
|
||||
}
|
||||
});
|
||||
.addOnOpenListener(this::notifyMeOnOpen);
|
||||
}
|
||||
|
||||
public void notifyMeOnOpen() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue