Class GreyNoiseCommunityIpLookupAdapter
java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
org.graylog2.plugin.lookup.LookupDataAdapter
org.graylog.integrations.dataadapters.GreyNoiseCommunityIpLookupAdapter
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
Deprecated.
The GreyNoiseCommunityIpLookupAdapter class is deprecated as of <a href="https://github.com/Graylog2/graylog-plugin-integrations/pull/1340.
A
LookupDataAdapter
that uses the GreyNoise Community API
to perform IP lookups.
The API response is a subset of the IP context returned by the full IP Lookup API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated.static class
Deprecated.static interface
Deprecated.Nested classes/interfaces inherited from class org.graylog2.plugin.lookup.LookupDataAdapter
LookupDataAdapter.Factory2<T extends LookupDataAdapter>
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGreyNoiseCommunityIpLookupAdapter
(String id, String name, LookupDataAdapterConfiguration config, com.codahale.metrics.MetricRegistry metricRegistry, EncryptedValueService encryptedValueService, okhttp3.OkHttpClient okHttpClient) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected LookupResult
Deprecated.protected LookupResult
Deprecated.protected void
doRefresh
(LookupCachePurge cachePurge) Deprecated.protected void
doStart()
Deprecated.protected void
doStop()
Deprecated.org.joda.time.Duration
Deprecated.Returns the refresh interval for this data adapter.void
Deprecated.Methods inherited from class org.graylog2.plugin.lookup.LookupDataAdapter
addStringList, assignTtl, clearError, clearKey, get, getConfig, getEmptyResult, getError, getErrorResult, id, name, refresh, removeStringList, setError, setStringList, setStringListWithTtl, setValue, setValueWithTtl, shutDown, startUp
Methods inherited from class com.google.common.util.concurrent.AbstractIdleService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString
-
Field Details
-
ADAPTER_NAME
Deprecated.- See Also:
-
GREYNOISE_COMMUNITY_ENDPOINT
Deprecated.- See Also:
-
-
Constructor Details
-
GreyNoiseCommunityIpLookupAdapter
@Inject public GreyNoiseCommunityIpLookupAdapter(String id, String name, LookupDataAdapterConfiguration config, com.codahale.metrics.MetricRegistry metricRegistry, EncryptedValueService encryptedValueService, okhttp3.OkHttpClient okHttpClient) Deprecated.
-
-
Method Details
-
doStart
Deprecated.- Specified by:
doStart
in classLookupDataAdapter
- Throws:
Exception
-
doStop
protected void doStop()Deprecated.- Specified by:
doStop
in classLookupDataAdapter
-
refreshInterval
public org.joda.time.Duration refreshInterval()Deprecated.Description copied from class:LookupDataAdapter
Returns the refresh interval for this data adapter. UseDuration.ZERO
if refresh should be disabled.- Specified by:
refreshInterval
in classLookupDataAdapter
- Returns:
- the refresh interval
-
doRefresh
Deprecated.- Specified by:
doRefresh
in classLookupDataAdapter
-
set
Deprecated.- Specified by:
set
in classLookupDataAdapter
-
doGet
Deprecated.- Specified by:
doGet
in classLookupDataAdapter
-
doDoGet
Deprecated.
-