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).

1  
!7
2  
3  
static TimedCache<Int> cache = TimedCache(f numberOfAllThreads, 10.0);
4  
5  
html {
6  
  if (eqic(uri, "/number-of-threads")) ret str(cache!);
7  
  if (eqic(uri, "/watchdog-status")) ret sfu(sendToAll("Eleu Watch Dog.", "status"));
8  
9  
  ret hpre(renderUserThreadsWithStackTraces());
10  
}

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: 600 / 5368
Version history: 6 change(s)
Referenced in: [show references]