public class UserProjectCacheMapAdapter extends Object implements UserProjectCache
| Constructor and Description |
|---|
UserProjectCacheMapAdapter(org.elasticsearch.common.settings.Settings settings) |
@Inject public UserProjectCacheMapAdapter(org.elasticsearch.common.settings.Settings settings)
public Map<String,Set<String>> getUserProjects()
UserProjectCachegetUserProjects in interface UserProjectCachepublic boolean hasUser(String user)
hasUser in interface UserProjectCachepublic void update(String user, Set<String> projects)
UserProjectCacheupdate in interface UserProjectCachepublic void expire()
expire in interface UserProjectCacheCopyright © 2015 Red Hat. All rights reserved.