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

4
LINES

< > BotCompany Repo | #1011099 // clearAllCaches - clear all cache variables (any variable ending with _cache, can be map, collection, Cache...)

JavaX fragment (include)

1  
static void clearAllCaches() {
2  
  for (S field : allCacheVars())
3  
    pcallOpt(getOptMC(field), 'clear);
4  
}

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: #1011099
Snippet name: clearAllCaches - clear all cache variables (any variable ending with _cache, can be map, collection, Cache...)
Eternal ID of this version: #1011099/5
Text MD5: 7d3c565e92e217ea1943b62785c8f440
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-02 14:57:52
Source code size: 107 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 512
Version history: 4 change(s)
Referenced in: [show references]