Package org.apache.synapse.transport.vfs
Class PollTableEntry
java.lang.Object
org.apache.axis2.transport.base.ProtocolEndpoint
org.apache.axis2.transport.base.AbstractPollTableEntry
org.apache.synapse.transport.vfs.PollTableEntry
public class PollTableEntry
extends org.apache.axis2.transport.base.AbstractPollTableEntry
Holds information about an entry in the VFS transport poll table used by the
VFS Transport Listener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class org.apache.axis2.transport.base.AbstractPollTableEntry
FAILED, SUCCSESSFUL, WITH_ERRORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintorg.apache.axis2.addressing.EndpointReference[]getEndpointReferences(org.apache.axis2.description.AxisService service, String ip) doubleintintorg.apache.axis2.description.ParameterIncludelongbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanChecks if the file not found warning has been logged.booleanbooleanbooleanbooleanbooleanloadConfiguration(org.apache.axis2.description.ParameterInclude params) protected booleanloadConfigurationsFromService(org.apache.axis2.description.ParameterInclude params) voidsetAutoLockRelease(Boolean autoLockRelease) voidsetAutoLockReleaseInterval(Long autoLockReleaseInterval) voidsetAutoLockReleaseSameNode(Boolean autoLockReleaseSameNode) voidsetCanceled(boolean canceled) voidsetCheckSizeIgnoreEmpty(String checkSizeIgnoreEmpty) voidsetCheckSizeInterval(String checkSizeInterval) voidsetClusterAware(boolean clusterAware) voidsetFileNotFoundLogged(boolean fileNotFoundLogged) Sets the file not found logged flag.voidsetFileSortAscending(boolean fileSortAscending) voidsetFileSortParam(String fileSortParam) voidsetForceCreateFolder(boolean forceCreateFolder) voidsetSecureVaultProperties(Properties secureVaultProperties) voidsetSubfolderTimestamp(String subfolderTimestamp) voidsetVfsSchemeProperties(Map<String, String> vfsSchemeProperties) Methods inherited from class org.apache.axis2.transport.base.AbstractPollTableEntry
getLastPollState, getLastPollTime, getNextPollTime, getPollInterval, isConcurrentPollingAllowed, setConcurrentPollingAllowed, setLastPollState, setLastPollTime, setNextPollTime, setPollIntervalMethods inherited from class org.apache.axis2.transport.base.ProtocolEndpoint
createMessageContext, getConfigurationContext, getDescription, getListener, getService, getServiceName
-
Field Details
-
DELETE
public static final int DELETE- See Also:
-
MOVE
public static final int MOVE- See Also:
-
NONE
public static final int NONE- See Also:
-
-
Constructor Details
-
PollTableEntry
public PollTableEntry(boolean fileLocking)
-
-
Method Details
-
getEndpointReferences
public org.apache.axis2.addressing.EndpointReference[] getEndpointReferences(org.apache.axis2.description.AxisService service, String ip) - Specified by:
getEndpointReferencesin classorg.apache.axis2.transport.base.ProtocolEndpoint
-
getFileURI
-
getReplyFileURI
-
getFileNamePattern
-
getContentType
-
getUpdateLastModified
public boolean getUpdateLastModified() -
getActionAfterProcess
public int getActionAfterProcess() -
getActionAfterErrors
public int getActionAfterErrors() -
getActionAfterFailure
public int getActionAfterFailure() -
getMoveAfterProcess
-
getMoveAfterMoveFailure
-
getNextRetryDuration
public int getNextRetryDuration() -
getFailedRecordFileName
-
getFailedRecordFileDestination
-
getFailedRecordTimestampFormat
-
getFileProcessingInterval
-
getFileProcessingCount
-
getMoveAfterErrors
-
getMoveAfterFailure
-
setCheckSizeInterval
-
getCheckSizeInterval
-
hasCheckSizeInterval
public boolean hasCheckSizeInterval() -
setCheckSizeIgnoreEmpty
-
getCheckSizeIgnoreEmpty
-
isCheckSizeIgnoreEmpty
public boolean isCheckSizeIgnoreEmpty() -
isStreaming
public boolean isStreaming() -
getMaxRetryCount
public int getMaxRetryCount() -
isFileLockingEnabled
public boolean isFileLockingEnabled() -
setSecureVaultProperties
-
getFileSizeLimit
public double getFileSizeLimit() -
getReconnectTimeout
public long getReconnectTimeout() -
getMoveTimestampFormat
-
getAutoLockRelease
- Returns:
- the autoLockRelease
-
setAutoLockRelease
- Parameters:
autoLockRelease- the autoLockRelease to set
-
getAutoLockReleaseInterval
- Returns:
- the autoLockReleaseInterval
-
setAutoLockReleaseInterval
- Parameters:
autoLockReleaseInterval- the autoLockReleaseInterval to set
-
getAutoLockReleaseSameNode
- Returns:
- the autoLockReleaseSameNode
-
setAutoLockReleaseSameNode
- Parameters:
autoLockReleaseSameNode- the autoLockReleaseSameNode to set
-
isDistributedLock
public boolean isDistributedLock()- Returns:
- the distributedLock
-
getFileSortParam
- Returns:
- the fileSortParam
-
setFileSortParam
- Parameters:
fileSortParam- the fileSortParam to set
-
isFileSortAscending
public boolean isFileSortAscending()- Returns:
- the fileSortAscending
-
setFileSortAscending
public void setFileSortAscending(boolean fileSortAscending) - Parameters:
fileSortAscending- the fileSortAscending to set
-
getDistributedLockTimeout
- Returns:
- the distributedLockTimeout
-
isCanceled
public boolean isCanceled() -
setCanceled
public void setCanceled(boolean canceled) -
isClusterAware
public boolean isClusterAware() -
setClusterAware
public void setClusterAware(boolean clusterAware) -
isResolveHostsDynamically
public boolean isResolveHostsDynamically() -
getVfsSchemeProperties
-
setVfsSchemeProperties
-
isFileNotFoundLogged
public boolean isFileNotFoundLogged()Checks if the file not found warning has been logged.- Returns:
trueif the file not found warning has been logged,falseotherwise.
-
setFileNotFoundLogged
public void setFileNotFoundLogged(boolean fileNotFoundLogged) Sets the file not found logged flag.- Parameters:
fileNotFoundLogged-trueto indicate that the file not found warning has been logged,falseotherwise.
-
getParams
public org.apache.axis2.description.ParameterInclude getParams() -
isForceCreateFolder
public boolean isForceCreateFolder()- Returns:
- the forceCreateFolder
-
setForceCreateFolder
public void setForceCreateFolder(boolean forceCreateFolder) - Parameters:
forceCreateFolder- the forceCreateFolder to set
-
getSubfolderTimestamp
- Returns:
- the subfolderTimestamp
-
setSubfolderTimestamp
- Parameters:
subfolderTimestamp- the subfolderTimestamp to set
-
getMinimumAge
-
getMaximumAge
-
loadConfiguration
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude params) throws org.apache.axis2.AxisFault - Overrides:
loadConfigurationin classorg.apache.axis2.transport.base.AbstractPollTableEntry- Throws:
org.apache.axis2.AxisFault
-
loadConfigurationsFromService
protected boolean loadConfigurationsFromService(org.apache.axis2.description.ParameterInclude params) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-