Package org.cdlib.mrt.s3.tools
Class CopyFile
java.lang.Object
org.cdlib.mrt.s3.tools.CopyFile
Routine used for copying content from one node key to another
Format table:
,,,
dloy
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BufferedReaderprotected ArrayList<CopyFile.CopyEntry> protected static final booleanprotected intprotected intprotected Fileprotected longprotected longprotected longprotected org.cdlib.mrt.utility.LoggerInfprotected intprotected static final Stringprotected static final Stringprotected NodeIOprotected Fileprotected longprotected longprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildCopyEntry(String line) voidcopy(CopyFile.CopyEntry copyEntry) voiddoCopy(CopyFile.CopyEntry copyEntry) voiddoOutputDelete(CopyFile.CopyEntry copyEntry) getDataSha256(CloudStoreInf service, String bucket, String key) longgetSha256(CloudStoreInf service, String bucket, String key) static voidvoidprintMeta(NodeIO.AccessNode accessNode, String key) voidprocess()processEntry(String line)
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
doDeleteOutput
protected static final boolean doDeleteOutput- See Also:
-
nio
-
getListFile
-
tempFile
-
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 -
copyEntries
-
-
Constructor Details
-
Method Details
-
main
- Throws:
Exception
-
process
public void process() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
processEntry
- Throws:
org.cdlib.mrt.utility.TException
-
buildCopyEntry
- Throws:
org.cdlib.mrt.utility.TException
-
copy
- Throws:
org.cdlib.mrt.utility.TException
-
doCopy
- Throws:
org.cdlib.mrt.utility.TException
-
doOutputDelete
- Throws:
org.cdlib.mrt.utility.TException
-
getSha256
public String getSha256(CloudStoreInf service, String bucket, String key) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
printMeta
public void printMeta(NodeIO.AccessNode accessNode, String key) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getDataSha256
public String getDataSha256(CloudStoreInf service, String bucket, String key) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getNode
- Throws:
org.cdlib.mrt.utility.TException
-