private static class ConcurrentPermissions.PermissionPendingResolutionCollection extends PermissionCollection
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentHashMap<String,Collection<ConcurrentPermissions.PermissionPendingResolution>> |
klasses |
private java.util.concurrent.atomic.AtomicInteger |
pending |
private static long |
serialVersionUID |
Constructor and Description |
---|
PermissionPendingResolutionCollection() |
PermissionPendingResolutionCollection(int initialCapacity,
float loadFactor,
int concurrencyLevel) |
Modifier and Type | Method and Description |
---|---|
void |
add(Permission permission) |
int |
awaitingResolution() |
(package private) void |
clear() |
Enumeration<Permission> |
elements() |
boolean |
implies(Permission permission) |
(package private) PermissionCollection |
resolveCollection(Permission target,
PermissionCollection holder) |
isReadOnly, setReadOnly, toString
private static final long serialVersionUID
private java.util.concurrent.ConcurrentHashMap<String,Collection<ConcurrentPermissions.PermissionPendingResolution>> klasses
private java.util.concurrent.atomic.AtomicInteger pending
PermissionPendingResolutionCollection()
PermissionPendingResolutionCollection(int initialCapacity, float loadFactor, int concurrencyLevel)
public int awaitingResolution()
void clear()
public void add(Permission permission)
add
in class PermissionCollection
PermissionCollection resolveCollection(Permission target, PermissionCollection holder)
public boolean implies(Permission permission)
implies
in class PermissionCollection
public Enumeration<Permission> elements()
elements
in class PermissionCollection
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.