2.4.7.2.2 FileLoader Configuration
The file loader specific configuration is contained within the
<FileLoader>
sub-section.
The
SimpleFileLoader
has the following configuration parameters:-
SimpleFileLoader Configuration
<class>..</class>
Specifies the file loader class, which must be an
implementation of the
org.alfresco.jlan.server.filesys.loader.FileLoader
interface.
For the
SimpleFileLoader
the class is
org.alfresco.jlan.server.filesys.loader.SimpleFileLoader
.
<RootPath>..</RootPath>
Specifies the path on the local filesystem to use to store
the files/directories.
<RootPath>P:\JDBCShare</RootPath>
<Debug/>
Enables SimpleFileLoader debug output.
The DBFileLoader has the following configuration parameters:-
JDBCFileLoader Configuration
<class>..</class>
Specifies the file loader class, which must be an
implementation of the
org.alfresco.jlan.smb.loader.FileLoader
interface.
For the JDBC
FileLoader
the class is
org.alfresco.jlan.smb.disk.jdbc.JDBCFileLoader
.
<FragmentSize>
n
</FragmentSize>
Specifies the maximum size of file data to be stored per
blob. If the file is larger than this value it will be split up
into multiple blob fields.
The value may be specified as 'nK' for kilobytes or 'nM' for
megabytes.
The default size is 512K, minimum allowed is 64K.
<ThreadPoolSize>
l[:s]
</ThreadPoolSize>
Number of threads to be allocated to process the
background file data load/save requests.
Separate thread pools are used for load and save request
processing. If only one value is specified each threadpool
allocates that many worker threads.
Different thread pool sizes may be specified for load and
save by specifying the value as
26