Package | Description |
---|---|
org.xbill.DNS | |
org.xbill.DNS.lookup | |
org.xbill.DNS.tools |
Modifier and Type | Field and Description |
---|---|
private Cache |
Lookup.cache |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Integer,Cache> |
Lookup.defaultCaches |
Modifier and Type | Method and Description |
---|---|
static Cache |
Lookup.getDefaultCache(int dclass)
Gets the Cache that will be used as the default for the specified class by future Lookups.
|
Modifier and Type | Method and Description |
---|---|
void |
Lookup.setCache(Cache cache)
Sets the cache to use when performing this lookup.
|
static void |
Lookup.setDefaultCache(Cache cache,
int dclass)
Sets the Cache to be used as the default for the specified class by future Lookups.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,Cache> |
LookupSession.caches |
private java.util.List<Cache> |
LookupSession.LookupSessionBuilder.caches |
Modifier and Type | Method and Description |
---|---|
(package private) Cache |
LookupSession.getCache(int dclass) |
Modifier and Type | Method and Description |
---|---|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.cache(@NonNull Cache cache)
Enable caching using the supplied cache.
|
LookupSession.LookupSessionBuilder |
LookupSession.LookupSessionBuilder.cache(@NonNull java.lang.Integer dclass,
@NonNull Cache cache)
Deprecated.
use
LookupSession.LookupSessionBuilder.cache(Cache) , the Cache already provides the class. |
Constructor and Description |
---|
LookupSession(@NonNull Resolver resolver,
int maxRedirects,
int ndots,
java.util.List<Name> searchPath,
boolean cycleResults,
java.util.List<Cache> caches,
HostsFileParser hostsFileParser,
java.util.concurrent.Executor executor,
IrrelevantRecordMode irrelevantRecordMode) |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.lang.Integer,Cache> |
jnamed.caches |
Modifier and Type | Method and Description |
---|---|
Cache |
jnamed.getCache(int dclass) |
Modifier and Type | Method and Description |
---|---|
private void |
jnamed.addCacheNS(Message response,
Cache cache,
Name name) |