Administrador de Archivos Locales
El administrador de archivos local es adecuado para la integración con un sistema de archivos que reside en la misma máquina donde se despliega la aplicación.
Maven Dependency
Para utilizar el Administrador de Archivos Local en su aplicación, incluya la siguiente dependencia:
<dependency>
<groupId>com.iconsolutions.ipf.filemanager</groupId>
<artifactId>ipf-file-manager-local</artifactId>
</dependency>
Escriba la respuesta - Versioning
Como se detalla en el API Referencia, el FileWriter escriba métodos que devuelvan un envuelto WriteResponse objeto.
As versioning no es una característica del administrador de archivos local, el WriteResponse version() el método siempre devolverá null.
Configuración
Property Grouping: ipf.file-manager.local
| Key | Description | Default Value |
|---|---|---|
ipf.file-manager.local.enabled |
Local file manager is enabled by default when the maven dependency is included. Can be disabled by setting this property to |
|
ipf.file-manager.local.reader.buffer-size |
Larger buffer size for better throughput with large files |
|
ipf.file-manager.local.resiliency-settings.default.enabled |
Defines if the local file manager should retry on failure as configured in retry properties. |
|
ipf.file-manager.local.resiliency-settings.default.max-attempts |
Defines number of attemps to retry in case any of the retryable exceptions or their subclasses is encountered. |
|
ipf.file-manager.local.resiliency-settings.default.min-backoff |
Defines time interval in between retry attempts. |
|
ipf.file-manager.local.resiliency-settings.default.retryable-exceptions |
Exceptions that will be retried configured number of times. Provided as a collection of comma-separated strings. Subclasses of specified exceptions will also trigger retry. |
|
ipf.file-manager.local.resiliency-settings.delete.enabled |
Defines if the local file manager should retry on failure as configured in retry properties. |
|
ipf.file-manager.local.resiliency-settings.delete.max-attempts |
Defines number of attemps to retry in case any of the retryable exceptions or their subclasses is encountered. |
|
ipf.file-manager.local.resiliency-settings.delete.min-backoff |
Defines time interval in between retry attempts. |
|
ipf.file-manager.local.resiliency-settings.delete.retryable-exceptions |
Exceptions that will be retried configured number of times. Provided as a collection of comma-separated strings. Subclasses of specified exceptions will also trigger retry. |
|
ipf.file-manager.local.resiliency-settings.read.enabled |
Defines if the local file manager should retry on failure as configured in retry properties. |
|
ipf.file-manager.local.resiliency-settings.read.max-attempts |
Defines number of attemps to retry in case any of the retryable exceptions or their subclasses is encountered. |
|
ipf.file-manager.local.resiliency-settings.read.min-backoff |
Defines time interval in between retry attempts. |
|
ipf.file-manager.local.resiliency-settings.read.retryable-exceptions |
Exceptions that will be retried configured number of times. Provided as a collection of comma-separated strings. Subclasses of specified exceptions will also trigger retry. |
|
ipf.file-manager.local.resiliency-settings.write.enabled |
Defines if the local file manager should retry on failure as configured in retry properties. |
|
ipf.file-manager.local.resiliency-settings.write.max-attempts |
Defines number of attemps to retry in case any of the retryable exceptions or their subclasses is encountered. |
|
ipf.file-manager.local.resiliency-settings.write.min-backoff |
Defines time interval in between retry attempts. |
|
ipf.file-manager.local.resiliency-settings.write.retryable-exceptions |
Exceptions that will be retried configured number of times. Provided as a collection of comma-separated strings. Subclasses of specified exceptions will also trigger retry. |
|
ipf.file-manager.local.writer.overwrite-existing-file |
Should the file writer overwrite the file if it already exists |
|