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, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic 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.Elementpublic final int compareCredibility(int cred)
compareCredibility in interface Cache.Elementpublic java.lang.String toString()
RRsetpublic boolean isAuthenticated()
isAuthenticated in interface Cache.Element