@Test public void scheduleMessageToNotRegisteredActorAndNotCrash() throws Exception { final ActorSystemInstance actorSystem = ActorSystemInstance .getInstance("scheduleMessageToNotRegisteredActorAndNotCrash"); new TestAsync<Void>(1, TimeUnit.SECONDS).apply(new Function<CountDownLatch, Void>() { @Override public Void apply(@NonNull CountDownLatch countDownLatch) { ActorScheduler.after(10, actorSystem).send(message, Actor.class); return null; } }); assertTrue(true); }
@NonNull public static ScheduledMessageSender after(@IntRange(from = 0) long millis) { return after(millis, ActorSystemInstance.getInstance(null)); }
ActorScheduler { @NonNull public static ScheduledMessageSender after(@IntRange(from = 0) long millis) { return after(millis, ActorSystemInstance.getInstance(null)); } }
ActorScheduler { @NonNull public static ScheduledMessageSender after(@IntRange(from = 0) long millis) { return after(millis, ActorSystemInstance.getInstance(null)); } ActorScheduler(); }
ActorScheduler { @NonNull public static ScheduledMessageSender after(@IntRange(from = 0) long millis) { return after(millis, ActorSystemInstance.getInstance(null)); } ActorScheduler(); @NonNull static ScheduledMessageSender after(@IntRange(from = 0) long millis); static void cancel(@NonNull Class<?> actorAddress); }
ActorScheduler { @NonNull public static ScheduledMessageSender after(@IntRange(from = 0) long millis) { return after(millis, ActorSystemInstance.getInstance(null)); } ActorScheduler(); @NonNull static ScheduledMessageSender after(@IntRange(from = 0) long millis); static void cancel(@NonNull Class<?> actorAddress);  }