public abstract class AbstractEnrichIP extends AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptor |
GEO_DATABASE_FILE |
static PropertyDescriptor |
IP_ADDRESS_ATTRIBUTE |
static Relationship |
REL_FOUND |
static Relationship |
REL_NOT_FOUND |
Constructor and Description |
---|
AbstractEnrichIP() |
Modifier and Type | Method and Description |
---|---|
void |
closeReader() |
java.util.Set<Relationship> |
getRelationships() |
protected java.util.List<PropertyDescriptor> |
getSupportedPropertyDescriptors()
Allows subclasses to register which property descriptor objects are
supported.
|
protected void |
init(ProcessorInitializationContext context)
Provides subclasses the ability to perform initialization logic
|
void |
onScheduled(ProcessContext context) |
onTrigger, onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
public static final PropertyDescriptor GEO_DATABASE_FILE
public static final PropertyDescriptor IP_ADDRESS_ATTRIBUTE
public static final Relationship REL_FOUND
public static final Relationship REL_NOT_FOUND
public java.util.Set<Relationship> getRelationships()
getRelationships
in interface Processor
getRelationships
in class AbstractSessionFactoryProcessor
protected java.util.List<PropertyDescriptor> getSupportedPropertyDescriptors()
AbstractConfigurableComponent
getSupportedPropertyDescriptors
in class AbstractConfigurableComponent
@OnScheduled public void onScheduled(ProcessContext context) throws java.io.IOException
java.io.IOException
@OnStopped public void closeReader() throws java.io.IOException
java.io.IOException
protected void init(ProcessorInitializationContext context)
AbstractSessionFactoryProcessor
init
in class AbstractSessionFactoryProcessor
context
- in which to perform initialization