public abstract class AbstractSiteToSiteReportingTask extends AbstractReportingTask implements VerifiableReportingTask
| Modifier and Type | Class and Description |
|---|---|
private class |
AbstractSiteToSiteReportingTask.JsonRecordReader |
| Modifier and Type | Field and Description |
|---|---|
(package private) static PropertyDescriptor |
ALLOW_NULL_VALUES |
protected static String |
DESTINATION_URL_PATH |
private static String |
ESTABLISH_COMMUNICATION |
protected static String |
LAST_EVENT_ID_KEY |
(package private) static PropertyDescriptor |
RECORD_WRITER |
protected RecordSchema |
recordSchema |
protected SiteToSiteClient |
siteToSiteClient |
protected static String |
TIMESTAMP_FORMAT |
| Constructor and Description |
|---|
AbstractSiteToSiteReportingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addField(javax.json.JsonObjectBuilder builder,
String key,
Boolean value,
boolean allowNullValues) |
protected void |
addField(javax.json.JsonObjectBuilder builder,
String key,
Integer value,
boolean allowNullValues) |
protected void |
addField(javax.json.JsonObjectBuilder builder,
String key,
Long value,
boolean allowNullValues) |
protected void |
addField(javax.json.JsonObjectBuilder builder,
String key,
String value,
boolean allowNullValues) |
protected SiteToSiteClient |
getClient() |
protected byte[] |
getData(ReportingContext context,
InputStream in,
Map<String,String> attributes) |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
protected void |
sendData(ReportingContext context,
Transaction transaction,
Map<String,String> attributes,
javax.json.JsonArray jsonArray) |
void |
setup(PropertyContext reportContext) |
void |
shutdown() |
List<ConfigVerificationResult> |
verify(ConfigurationContext context,
ComponentLog verificationLogger) |
getControllerServiceLookup, getIdentifier, getLogger, getName, getNodeTypeProvider, getSchedulingPeriod, init, initialize, setComponentInfocustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStateful, onTriggergetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprivate static final String ESTABLISH_COMMUNICATION
protected static final String LAST_EVENT_ID_KEY
protected static final String DESTINATION_URL_PATH
protected static final String TIMESTAMP_FORMAT
static final PropertyDescriptor RECORD_WRITER
static final PropertyDescriptor ALLOW_NULL_VALUES
protected volatile SiteToSiteClient siteToSiteClient
protected volatile RecordSchema recordSchema
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentpublic void setup(PropertyContext reportContext) throws IOException
IOException@OnStopped public void shutdown() throws IOException
IOExceptionprotected SiteToSiteClient getClient()
protected void sendData(ReportingContext context, Transaction transaction, Map<String,String> attributes, javax.json.JsonArray jsonArray) throws IOException
IOExceptionprotected byte[] getData(ReportingContext context, InputStream in, Map<String,String> attributes)
protected void addField(javax.json.JsonObjectBuilder builder,
String key,
Boolean value,
boolean allowNullValues)
protected void addField(javax.json.JsonObjectBuilder builder,
String key,
Long value,
boolean allowNullValues)
protected void addField(javax.json.JsonObjectBuilder builder,
String key,
Integer value,
boolean allowNullValues)
protected void addField(javax.json.JsonObjectBuilder builder,
String key,
String value,
boolean allowNullValues)
public List<ConfigVerificationResult> verify(ConfigurationContext context, ComponentLog verificationLogger)
verify in interface VerifiableReportingTaskCopyright © 2024 Apache NiFi Project. All rights reserved.