private final class DefaultHttp2Connection.PropertyKeyRegistry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<DefaultHttp2Connection.DefaultPropertyKey> |
keys
Initial size of 4 because the default configuration currently has 3 listeners
(local/remote flow controller and
StreamByteDistributor) and we leave room for 1 extra. |
| Modifier | Constructor and Description |
|---|---|
private |
PropertyKeyRegistry() |
| Modifier and Type | Method and Description |
|---|---|
(package private) DefaultHttp2Connection.DefaultPropertyKey |
newKey()
Registers a new property key.
|
(package private) int |
size() |
final java.util.List<DefaultHttp2Connection.DefaultPropertyKey> keys
StreamByteDistributor) and we leave room for 1 extra.
We could be more aggressive but the ArrayList resize will double the size if we are too small.DefaultHttp2Connection.DefaultPropertyKey newKey()
int size()