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

14
LINES

< > BotCompany Repo | #1006308 // Test java.util.Timer Under Hibernation

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (799L/6K/20K).

!752

static volatile int timerRuns;

p {
  doEvery(1000, r {
    ++timerRuns;
  });
  
  while licensed {
    sleepSeconds(1);
    print(hmsWithColons() + ": sysNow=" + sysNow()/1000 + ", timer runs=" + timerRuns);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006308
Snippet name: Test java.util.Timer Under Hibernation
Eternal ID of this version: #1006308/1
Text MD5: 2cf73d4e26d6069a1a77833572014442
Transpilation MD5: 0b4b949fc26c6fbf6fbeb46566f45e8a
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-28 17:36:02
Source code size: 234 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 479 / 571
Referenced in: [show references]