|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GenericFileOperations | |
---|---|
org.apache.camel.component.file | The File Component for working with file systems. |
org.apache.camel.component.file.strategy | Strategies for the File Component. |
Uses of GenericFileOperations in org.apache.camel.component.file |
---|
Classes in org.apache.camel.component.file that implement GenericFileOperations | |
---|---|
class |
FileOperations
File operations for File . |
Fields in org.apache.camel.component.file declared as GenericFileOperations | |
---|---|
protected GenericFileOperations<T> |
GenericFileProducer.operations
|
protected GenericFileOperations<T> |
GenericFileConsumer.operations
|
Methods in org.apache.camel.component.file with parameters of type GenericFileOperations | |
---|---|
void |
GenericFileProcessStrategy.abort(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Called when a begin is aborted, for example to release any resources which may have been acquired during the GenericFileProcessStrategy.begin(GenericFileOperations, GenericFileEndpoint, org.apache.camel.Exchange, GenericFile)
operation. |
boolean |
GenericFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
Acquires exclusive read lock to the file. |
boolean |
GenericFileProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Called when work is about to begin on this file. |
void |
GenericFileProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Releases any file locks and possibly deletes or moves the file after successful processing |
protected FileConsumer |
FileEndpoint.newFileConsumer(Processor processor,
GenericFileOperations<File> operations)
Strategy to create a new FileConsumer |
void |
GenericFileExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint)
Allows custom logic to be run on startup preparing the strategy, such as removing old lock files etc. |
void |
GenericFileProcessStrategy.prepareOnStartup(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint)
Allows custom logic to be run on first poll preparing the strategy, such as removing old lock files etc. |
void |
GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
Releases the exclusive read lock granted by the acquireExclusiveReadLock method. |
void |
GenericFileProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
Releases any file locks and possibly deletes or moves the file after unsuccessful processing |
void |
GenericFileProducer.setOperations(GenericFileOperations<T> operations)
Sets the operations to be used. |
void |
GenericFileConsumer.setOperations(GenericFileOperations<T> operations)
Sets the operations to be used. |
Constructors in org.apache.camel.component.file with parameters of type GenericFileOperations | |
---|---|
FileConsumer(GenericFileEndpoint<File> endpoint,
Processor processor,
GenericFileOperations<File> operations)
|
|
GenericFileConsumer(GenericFileEndpoint<T> endpoint,
Processor processor,
GenericFileOperations<T> operations)
|
|
GenericFileOnCompletion(GenericFileEndpoint<T> endpoint,
GenericFileOperations<T> operations,
GenericFile<T> file,
String absoluteFileName)
|
|
GenericFileProducer(GenericFileEndpoint<T> endpoint,
GenericFileOperations<T> operations)
|
Uses of GenericFileOperations in org.apache.camel.component.file.strategy |
---|
Methods in org.apache.camel.component.file.strategy with parameters of type GenericFileOperations | |
---|---|
void |
GenericFileProcessStrategySupport.abort(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
FileLockExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
FileChangedExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
boolean |
GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
|
boolean |
GenericFileDeleteProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
GenericFileRenameProcessStrategy.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
boolean |
GenericFileProcessStrategySupport.begin(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileDeleteProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileRenameProcessStrategy.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileProcessStrategySupport.commit(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
FileLockExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<File> operations,
GenericFileEndpoint<File> endpoint)
|
void |
MarkerFileExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<File> operations,
GenericFileEndpoint<File> endpoint)
|
void |
GenericFileProcessStrategySupport.prepareOnStartup(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint)
|
void |
GenericFileRenameExclusiveReadLockStrategy.prepareOnStartup(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint)
|
void |
FileLockExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
FileRenameExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<File> operations,
GenericFile<File> file,
Exchange exchange)
|
void |
GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLock(GenericFileOperations<T> operations,
GenericFile<T> file,
Exchange exchange)
|
protected GenericFile<T> |
GenericFileProcessStrategySupport.renameFile(GenericFileOperations<T> operations,
GenericFile<T> from,
GenericFile<T> to)
|
void |
GenericFileDeleteProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileRenameProcessStrategy.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
void |
GenericFileProcessStrategySupport.rollback(GenericFileOperations<T> operations,
GenericFileEndpoint<T> endpoint,
Exchange exchange,
GenericFile<T> file)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |