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