Package org.cdlib.mrt.s3.tools
Class NodeIOList
java.lang.Object
org.cdlib.mrt.s3.tools.NodeIOList
This sample demonstrates how to make basic requests to Amazon S3 using
the AWS SDK for Java.
Prerequisites: You must have a valid Amazon Web Services developer account, and be signed up to use Amazon S3. For more information on Amazon S3, see http://aws.amazon.com/s3.
Important: Be sure to fill in your AWS access credentials in the AwsCredentials.properties file before you try to run this sample. http://aws.amazon.com/security-credentials
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected BufferedReader
protected int
protected int
protected File
protected long
protected long
protected long
protected org.cdlib.mrt.utility.LoggerInf
protected int
protected static final String
protected static final String
protected NodeIO
protected long
protected long
protected long
-
Constructor Summary
ConstructorsConstructorDescriptionNodeIOList
(String nodeName, String base, File getListFile, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getStoreFile
(String storageURLS, File outFile) static void
void
process()
void
processGet
(String urlS, File outFile) void
processGetIO
(String urlS, File outFile) void
processGetStore
(String urlS, File outFile)
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
nio
-
getListFile
-
br
-
logger
protected org.cdlib.mrt.utility.LoggerInf logger -
base
-
maxout
protected int maxout -
fileCnt
protected int fileCnt -
getCnt
protected int getCnt -
timeNode
protected long timeNode -
lengthNode
protected long lengthNode -
timeIO
protected long timeIO -
lengthIO
protected long lengthIO -
timeStore
protected long timeStore -
lengthStore
protected long lengthStore
-
-
Constructor Details
-
Method Details
-
main
- Throws:
Exception
-
process
public void process() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
processGet
- Throws:
org.cdlib.mrt.utility.TException
-
processGetIO
- Throws:
org.cdlib.mrt.utility.TException
-
processGetStore
- Throws:
org.cdlib.mrt.utility.TException
-
getStoreFile
- Throws:
org.cdlib.mrt.utility.TException
-