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, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeprivate 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.Elementpublic final int compareCredibility(int cred)
compareCredibility in interface Cache.Element