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

8
LINES

< > BotCompany Repo | #1013652 // ai_forgetAllBotHttpRequests

JavaX fragment (include)

static int ai_forgetAllBotHttpRequests() {
  new L<TripleWeb> toInvalidate;
  for (TripleWeb w : ai_triplesWithB("was for path"))
    if (isCIPrefixPlusGlobalID(w.a, "Bot HTTP request "))
      toInvalidate.addAll(triplesWithA(w.a));
  ai_removeTriplesInMemory(toInvalidate);
  ret l(toInvalidate);
}

Author comment

Began life as a copy of #1013651

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: #1013652
Snippet name: ai_forgetAllBotHttpRequests
Eternal ID of this version: #1013652/1
Text MD5: 11a2ab5d9f07eb2441af91ae2eb98620
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-14 11:33:39
Source code size: 307 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 389
Referenced in: [show references]