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

18
LINES

< > BotCompany Repo | #1007489 // Monitor AI Concepts Change Count (on live DB only)

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

Libraryless. Click here for Pure Java version (6873L/45K/152K).

!7

p {
  RemoteDB db = new RemoteDB(#1006463, true);
  repeat with sleep 1 {
    try {
      long cc;
      int n;
      time {
        cc = db.xchangeCount();
        n = db.xcount();
      }
      print("Change count: " + cc + ", objects: " + n);
    } on fail {
      db.reconnect();
    }
  }
}

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: #1007489
Snippet name: Monitor AI Concepts Change Count (on live DB only)
Eternal ID of this version: #1007489/5
Text MD5: c4d777c121eead1368add3615985cccf
Transpilation MD5: 73733b67108c3bcfa6494c2af3c52203
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-25 15:37:46
Source code size: 316 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 648
Version history: 4 change(s)
Referenced in: [show references]