@Restricted(value=org.kohsuke.accmod.restrictions.Beta.class) public class UserContextCache extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static String | cleanCache()Cleans internal cache of JSON Objects for the session. | 
| boolean | containsKey(String sessionId) | 
| void | flush(String sessionId) | 
| UserContext | get(String sessionId) | 
| static UserContextCache | getInstance() | 
| void | put(String sessionId,
   UserContext context) | 
| static void | updateSearchCache(List<hudson.model.TopLevelItem> selectedJobs,
                 List<hudson.model.Computer> selectedSlaves,
                 List<hudson.model.User> selectedUsers,
                 String item) | 
@Nonnull public static UserContextCache getInstance()
@CheckForNull public UserContext get(@Nonnull String sessionId)
public void put(@Nonnull String sessionId, @Nonnull UserContext context)
@Nonnull public static String cleanCache()
Copyright © 2016–2022. All rights reserved.