public class DnsLookupDataAdapter extends LookupDataAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
DnsLookupDataAdapter.Config |
static class |
DnsLookupDataAdapter.Descriptor |
static interface |
DnsLookupDataAdapter.Factory |
| Constructor and Description |
|---|
DnsLookupDataAdapter(String id,
String name,
LookupDataAdapterConfiguration config,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected LookupResult |
doGet(Object key) |
protected void |
doRefresh(LookupCachePurge cachePurge)
Not needed for the DNS Lookup adaptor.
|
protected void |
doStart() |
protected void |
doStop() |
org.joda.time.Duration |
refreshInterval()
Not needed for the DNS Lookup adaptor.
|
void |
set(Object key,
Object value) |
clearError, get, getConfig, getError, id, name, refresh, setError, shutDown, startUppublic static final String NAME
@Inject public DnsLookupDataAdapter(String id, String name, LookupDataAdapterConfiguration config, com.codahale.metrics.MetricRegistry metricRegistry)
protected void doStart()
doStart in class LookupDataAdapterprotected void doStop()
doStop in class LookupDataAdapterpublic org.joda.time.Duration refreshInterval()
refreshInterval in class LookupDataAdapterprotected void doRefresh(LookupCachePurge cachePurge)
doRefresh in class LookupDataAdapterprotected LookupResult doGet(Object key)
doGet in class LookupDataAdapterpublic void set(Object key, Object value)
set in class LookupDataAdapterCopyright © 2012–2020 Graylog, Inc.. All rights reserved.