Class NodeIOList

java.lang.Object
org.cdlib.mrt.s3.tools.NodeIOList

public class NodeIOList extends Object
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 Details

    • NAME

      protected static final String NAME
      See Also:
    • MESSAGE

      protected static final String MESSAGE
      See Also:
    • nio

      protected NodeIO nio
    • getListFile

      protected File getListFile
    • br

      protected BufferedReader br
    • logger

      protected org.cdlib.mrt.utility.LoggerInf logger
    • base

      protected String 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

    • NodeIOList

      public NodeIOList(String nodeName, String base, File getListFile, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • process

      public void process() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • processGet

      public void processGet(String urlS, File outFile) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • processGetIO

      public void processGetIO(String urlS, File outFile) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • processGetStore

      public void processGetStore(String urlS, File outFile) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getStoreFile

      public void getStoreFile(String storageURLS, File outFile) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException