Unsolved
This post is more than 5 years old
1 Rookie
•
70 Posts
0
452
April 18th, 2013 02:00
Questions - Direct Centera Upload using Java
Hello,
I'm writing script in java to copy millions of files from my filesystem to Centera Pool.
I've written code similar to provided by sample Centera upload class StoreContent.
I need to understand what is significance of code below
// Threshold for when to embed blobs in CDF, in bytes
int embeddedBlobsize = 50000;
if (fileSize > embeddedBlobsize) {
System.out.println( "File is larger than embedded blob threshold - will be stored outside the CDF.");
} else {
System.out.println(
"File size is less than embedded blob threshold - will be stored embedded in the CDF.");
}
I need to know what is the check for, as I'm new to Centera.
Regards
Prashant


