Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1010504 // Dump Threads Web Bot + Watch Dog Status

JavaX source code (desktop) [tags: ai1-lol use-pretranspiled] - run with: x30.jar - homepage

Download Jar. Libraryless. Click here for Pure Java version (5749L/38K).

!7

static TimedCache<Int> cache = TimedCache(f numberOfAllThreads, 10.0);

html {
  if (eqic(uri, "/number-of-threads")) ret str(cache!);
  if (eqic(uri, "/watchdog-status")) ret sfu(sendToAll("Eleu Watch Dog.", "status"));

  ret hpre(renderUserThreadsWithStackTraces());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010504
Snippet name: Dump Threads Web Bot + Watch Dog Status
Eternal ID of this version: #1010504/7
Text MD5: f1db789981b2018b4865785c87ee78b4
Transpilation MD5: 6f07497f35268f09ae920b791c7808ab
Author: stefan
Category: javax / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-10 19:24:54
Source code size: 284 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 465 / 4980
Version history: 6 change(s)
Referenced in: #1013896 - Eleutheria Main for butter.botcompany.de + Stefan's OS (LIVE)