org.sca4j.binding.file.common
Class FileBindingMetadata

java.lang.Object
  extended by org.sca4j.binding.file.common.FileBindingMetadata

public class FileBindingMetadata
extends java.lang.Object

Contains configuration data for binding.file

Author:
dhillonn

Field Summary
 boolean acquireEndpointLock
          Acquire the lock on endpoint so that only one service polls the endpoint across cluster
 boolean acquireFileLock
          lock the file during read/write operation to protect against in-flight files
 java.lang.String archiveFileTimestampPattern
          Timestamp pattern for archived file
 java.net.URI archiveUri
          URI of the directory where the file will be moved after reading
 java.lang.String filenamePattern
          pattern used to select file
 long pollingFrequency
          polling frequency
 java.lang.String tmpFileSuffix
          Suffix used to create temp file during upload, which is then renamed to original file on completion.
 
Constructor Summary
FileBindingMetadata()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archiveUri

public java.net.URI archiveUri
URI of the directory where the file will be moved after reading


filenamePattern

public java.lang.String filenamePattern
pattern used to select file


acquireFileLock

public boolean acquireFileLock
lock the file during read/write operation to protect against in-flight files


acquireEndpointLock

public boolean acquireEndpointLock
Acquire the lock on endpoint so that only one service polls the endpoint across cluster


pollingFrequency

public long pollingFrequency
polling frequency


archiveFileTimestampPattern

public java.lang.String archiveFileTimestampPattern
Timestamp pattern for archived file


tmpFileSuffix

public java.lang.String tmpFileSuffix
Suffix used to create temp file during upload, which is then renamed to original file on completion. This is to protect against in-flight files

Constructor Detail

FileBindingMetadata

public FileBindingMetadata()


Copyright © 2008-2011 Service Symphony. All Rights Reserved.