static class Cache.CacheRRset extends RRset implements Cache.Element
Modifier and Type | Field and Description |
---|---|
(package private) int |
credibility |
(package private) int |
expire |
(package private) boolean |
isAuthenticated |
Constructor and Description |
---|
CacheRRset(Record rec,
int cred,
long maxttl,
boolean isAuthenticated) |
CacheRRset(RRset rrset,
int cred,
long maxttl,
boolean isAuthenticated) |
Modifier and Type | Method and Description |
---|---|
int |
compareCredibility(int cred) |
boolean |
expired() |
boolean |
isAuthenticated() |
java.lang.String |
toString()
Converts the RRset to a String
|
addRR, addRR, clear, deleteRR, deleteRR, first, getActualType, getDClass, getName, getTTL, getType, rrs, rrs, sigs, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
public CacheRRset(Record rec, int cred, long maxttl, boolean isAuthenticated)
public CacheRRset(RRset rrset, int cred, long maxttl, boolean isAuthenticated)
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()
RRset
public boolean isAuthenticated()
isAuthenticated
in interface Cache.Element