public class LookupSession extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LookupSession.LookupSessionBuilder
A builder for
LookupSession instances where functionality is mostly generated as
described in the Lombok Builder
documentation. |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_ITERATIONS |
static int |
DEFAULT_NDOTS |
| Modifier and Type | Method and Description |
|---|---|
static LookupSession.LookupSessionBuilder |
builder()
Returns a new
LookupSession.LookupSessionBuilder instance. |
CompletionStage<LookupResult> |
lookupAsync(Name name,
int type,
int dclass)
Make an asynchronous lookup of the provided name.
|
public static final int DEFAULT_MAX_ITERATIONS
public static final int DEFAULT_NDOTS
public static LookupSession.LookupSessionBuilder builder()
LookupSession.LookupSessionBuilder instance.public CompletionStage<LookupResult> lookupAsync(Name name, int type, int dclass)
name - the name to look up.type - the type to look up, values should correspond to constants in Type.dclass - the class to look up, values should correspond to constants in DClass.CompletionStage what will yield the eventual lookup result.Copyright © 2021 dnsjava.org. All rights reserved.