@EventDriven @SupportsBatching @Tags(value={"map","cache","notify","distributed","signal","release"}) @InputRequirement(value=INPUT_REQUIRED) @CapabilityDescription(value="Caches a release signal identifier in the distributed cache, optionally along with the FlowFile\'s attributes. Any flow files held at a corresponding Wait processor will be released once this signal in the cache is discovered.") @WritesAttribute(attribute="notified", description="All FlowFiles will have an attribute \'notified\'. The value of this attribute is true, is the FlowFile is notified, otherwise false.") @SeeAlso(classNames={"org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService","org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer","org.apache.nifi.processors.standard.Wait"}) public class Notify extends AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
private class |
Notify.SignalBuffer |
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
ATTRIBUTE_CACHE_REGEX |
static PropertyDescriptor |
DISTRIBUTED_CACHE_SERVICE |
static String |
NOTIFIED_ATTRIBUTE_NAME |
static Relationship |
REL_FAILURE |
static Relationship |
REL_SUCCESS |
private Set<Relationship> |
relationships |
static PropertyDescriptor |
RELEASE_SIGNAL_IDENTIFIER |
static PropertyDescriptor |
SIGNAL_BUFFER_COUNT |
static PropertyDescriptor |
SIGNAL_COUNTER_DELTA |
static PropertyDescriptor |
SIGNAL_COUNTER_NAME |
| Constructor and Description |
|---|
Notify() |
| Modifier and Type | Method and Description |
|---|---|
Set<Relationship> |
getRelationships() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final String NOTIFIED_ATTRIBUTE_NAME
public static final PropertyDescriptor DISTRIBUTED_CACHE_SERVICE
public static final PropertyDescriptor RELEASE_SIGNAL_IDENTIFIER
public static final PropertyDescriptor SIGNAL_COUNTER_NAME
public static final PropertyDescriptor SIGNAL_COUNTER_DELTA
public static final PropertyDescriptor SIGNAL_BUFFER_COUNT
public static final PropertyDescriptor ATTRIBUTE_CACHE_REGEX
public static final Relationship REL_SUCCESS
public static final Relationship REL_FAILURE
private final Set<Relationship> relationships
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentpublic Set<Relationship> getRelationships()
getRelationships in interface ProcessorgetRelationships in class AbstractSessionFactoryProcessorpublic void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger in class AbstractProcessorProcessExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.