private static class Cache.NegativeElement extends java.lang.Object implements Cache.Element
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
credibility |
(package private) int |
expire |
(package private) Name |
name |
(package private) int |
type |
| Constructor and Description |
|---|
NegativeElement(Name name,
int type,
SOARecord soa,
int cred,
long maxttl) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareCredibility(int cred) |
boolean |
expired() |
int |
getType() |
java.lang.String |
toString() |
int type
Name name
int credibility
int expire
public int getType()
getType in interface Cache.Elementpublic final boolean expired()
expired in interface Cache.Elementpublic final int compareCredibility(int cred)
compareCredibility in interface Cache.Elementpublic java.lang.String toString()
toString in class java.lang.Object