| Modifier and Type | Class and Description |
|---|---|
| private static class | DnsQueryIdSpace.DnsQueryIdRange
Provides a query if from a range of possible ids. |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private final DnsQueryIdSpace. | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: the maximum number of ids.Return the maximum number of ids that are supported. |
| private static DnsQueryIdSpace. | |
| pack-priv int | Returns: next id to use.Returns the next ID to use for a query or |
| pack-priv void | |
| pack-priv int | Returns: the number of ids that are left for usage.Return how much more usable ids are left. |
| BUCKET_DROP_THRESHOLD | back to summary |
|---|---|
| private static final int BUCKET_DROP_THRESHOLD | |
| BUCKET_SIZE | back to summary |
|---|---|
| private static final int BUCKET_SIZE | |
| BUCKETS | back to summary |
|---|---|
| private static final int BUCKETS | |
| idBuckets | back to summary |
|---|---|
| private final DnsQueryIdSpace. | |
| MAX_ID | back to summary |
|---|---|
| private static final int MAX_ID | |
| DnsQueryIdSpace | back to summary |
|---|---|
| pack-priv DnsQueryIdSpace() | |
| maxUsableIds | back to summary |
|---|---|
| pack-priv int maxUsableIds() Return the maximum number of ids that are supported.
| |
| newBucket | back to summary |
|---|---|
| private static DnsQueryIdSpace. | |
| nextId | back to summary |
|---|---|
| pack-priv int nextId() Returns the next ID to use for a query or
| |
| pushId | back to summary |
|---|---|
| pack-priv void pushId(int id) Push back the id, so it can be used again for the next query.
| |
| usableIds | back to summary |
|---|---|
| pack-priv int usableIds() Return how much more usable ids are left.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final short[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: the maximum number of ids.Return the maximum number of ids that are supported. |
| pack-priv int | Returns: next id to use.Returns the next ID to use for a query or |
| pack-priv void | |
| pack-priv int | Returns: the number of ids that are left for usage.Return how much more usable ids are left. |
| count | back to summary |
|---|---|
| private int count | |
| ids | back to summary |
|---|---|
| private final short[] ids | |
| startId | back to summary |
|---|---|
| private final int startId | |
| DnsQueryIdRange | back to summary |
|---|---|
| pack-priv DnsQueryIdRange(int bucketSize, int startId) | |
| maxUsableIds | back to summary |
|---|---|
| pack-priv int maxUsableIds() Return the maximum number of ids that are supported.
| |
| nextId | back to summary |
|---|---|
| pack-priv int nextId() Returns the next ID to use for a query or
| |
| pushId | back to summary |
|---|---|
| pack-priv void pushId(int id) Push back the id, so it can be used again for the next query.
| |
| usableIds | back to summary |
|---|---|
| pack-priv int usableIds() Return how much more usable ids are left.
| |