public class FileTask extends InboundTask
interval, TASK_THRESHOLD_INTERVAL
Constructor and Description |
---|
FileTask(FilePollingConsumer fileScanner,
long interval) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Properties |
getInboundProperties() |
void |
init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment) |
protected void |
taskExecute() |
execute
public FileTask(FilePollingConsumer fileScanner, long interval)
protected void taskExecute()
taskExecute
in class InboundTask
public Properties getInboundProperties()
getInboundProperties
in interface PinnedPollingTask
getInboundProperties
in class InboundTask
public void init(org.apache.synapse.core.SynapseEnvironment synapseEnvironment)
public void destroy()
Copyright © 2019 WSO2. All rights reserved.