Package org.xbill.DNS
Class Cache.CacheRRset
java.lang.Object
org.xbill.DNS.RRset
org.xbill.DNS.Cache.CacheRRset
- All Implemented Interfaces:
Serializable,Iterable<Record>,Cache.Element
- Enclosing class:
Cache
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) int(package private) boolean -
Constructor Summary
ConstructorsConstructorDescriptionCacheRRset(Record rec, int cred, long maxttl, boolean isAuthenticated) CacheRRset(RRset rrset, int cred, long maxttl, boolean isAuthenticated) -
Method Summary
Modifier and TypeMethodDescriptionfinal intcompareCredibility(int cred) final booleanexpired()booleantoString()Converts the RRset to a StringMethods inherited from class org.xbill.DNS.RRset
addRR, addRR, clear, deleteRR, deleteRR, first, getActualType, getDClass, getName, getTTL, getType, isEmpty, iterator, rrs, rrs, sigs, sigSize, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.xbill.DNS.Cache.Element
getTypeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
credibility
int credibility -
expire
int expire -
isAuthenticated
boolean isAuthenticated
-
-
Constructor Details
-
CacheRRset
-
CacheRRset
-
-
Method Details
-
expired
public final boolean expired()- Specified by:
expiredin interfaceCache.Element
-
compareCredibility
public final int compareCredibility(int cred) - Specified by:
compareCredibilityin interfaceCache.Element
-
toString
Description copied from class:RRsetConverts the RRset to a String -
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticatedin interfaceCache.Element
-