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

4
LINES

< > BotCompany Repo | #1008917 // ctxContext - get/set CtxContext for thread

JavaX fragment (include)

static new ThreadLocal<CtxContext> ctxContext_var;

static CtxContext ctxContext() { ret ctxContext_var!; }
static void ctxContext(CtxContext ctx) { ctxContext_var.set(ctx); }

Author comment

Began life as a copy of #1008916

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: #1008917
Snippet name: ctxContext - get/set CtxContext for thread
Eternal ID of this version: #1008917/1
Text MD5: 2155dd829217db981aa13235e2c8479b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-18 17:27:07
Source code size: 178 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 517
Referenced in: [show references]