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.Element
public final boolean expired()
expired
in interface Cache.Element
public final int compareCredibility(int cred)
compareCredibility
in interface Cache.Element
public java.lang.String toString()
toString
in class java.lang.Object