pekko-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java [267:276]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                .onCommand(
                        GetHighestBid.class,
                        (state, get) -> {
                            get.replyTo.tell(state.highestBid);
                            return Effect().none();
                        })
                .onCommand(
                        Finish.class,
                        (state, finish) ->
                                Effect().persist(new AuctionFinished(getReplicationContext().replicaId())))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pekko-sample-persistence-dc-java/src/main/java/sample/persistence/res/auction/AuctionEntity.java [289:298]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                .onCommand(
                        GetHighestBid.class,
                        (state, get) -> {
                            get.replyTo.tell(state.highestBid);
                            return Effect().none();
                        })
                .onCommand(
                        Finish.class,
                        (state, finish) ->
                                Effect().persist(new AuctionFinished(getReplicationContext().replicaId())))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



