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
private final SpigetClient client = new Java11SpigetClient(GsonMapper.INSTANCE); | |
public void listAndPrintCategories() { | |
client.categoryList().size(5).exec().whenComplete((result, exception) -> { | |
if (exception != null) { | |
System.err.println("Unable to fetch because " + exception.getMessage()); | |
} else { | |
result.forEach(category -> System.out.println(category.name())); | |
} | |
}); |
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
23.06.2020 20:48:38 [INFO] Started 100 process(es) of group Lobby | |
23.06.2020 21:02:34 [INFO] - Proxy-1 - 0/512 - READY - 2c3167a6-86f8-47b4-9157-78afeabda8fe | |
23.06.2020 21:02:34 [INFO] - Proxy-2 - 0/512 - PREPARED - 063ab57b-eba5-4689-87b9-7b7a081e7139 | |
23.06.2020 21:02:34 [INFO] - Lobby-1 - 0/50 - READY - ec227520-b3bc-44dd-9a73-31ebd0c152b0 | |
23.06.2020 21:02:34 [INFO] - Lobby-2 - 0/50 - PREPARED - 22ec4e9b-7568-4443-a46b-caa18458416f | |
23.06.2020 21:02:34 [INFO] - Lobby-3 - 0/50 - READY - 21a93ab0-6e5f-484e-8c91-48cdb60d2ca9 | |
23.06.2020 21:02:34 [INFO] - Lobby-4 - 0/50 - READY - 2a7e507b-1efa-4dff-81e1-944f0b698622 | |
23.06.2020 21:02:34 [INFO] - Lobby-5 - 0/50 - READY - fe427719-2730-4646-bcbe-b7a556913d21 | |
23.06.2020 21:02:34 [INFO] - Lobby-6 - 0/50 - READY - 0a657f57-c225-4f87-be69-d4eaee7b9eea | |
23.06.2020 21:02:34 [INFO] - Lobby-7 - 0/50 - READY - 396d9de1-3d48-4605-abfc-b8ee43a32954 |