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

7
LINES

< > BotCompany Repo | #1019885 // syncExpiringMap - timeout is in milliseconds

JavaX fragment (include)

static <A, B> Map<A, B> syncExpiringMap(long standardExpiryTime) {
  ret ExpiringMap2(standardExpiryTime);
}

static <A, B> Map<A, B> syncExpiringMap(double standardExpirySeconds) {
  ret syncExpiringMap(toMS(standardExpirySeconds));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019885
Snippet name: syncExpiringMap - timeout is in milliseconds
Eternal ID of this version: #1019885/6
Text MD5: 1105e05a4eb86014cc0ca17da49de4d4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-11 14:01:11
Source code size: 241 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 349 / 383
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020393 - expiringMap_renewOnget
#1023395 - expiringSet - set with timeout, synchronized