Package org.cdlib.mrt.cloud.object
Class StateHandler
java.lang.Object
org.cdlib.mrt.cloud.object.StateHandler
Specific SDSC Storage Cloud handling
- Author:
- dloy
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
StateHandler
(CloudStoreInf manager, String bucket, String inKey, org.cdlib.mrt.utility.LoggerInf logger) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
static StateHandler.RetState
static StateHandler
getStateHandler
(CloudStoreInf manager, String bucket, String key, org.cdlib.mrt.utility.LoggerInf logger) static StateHandler
getStateHandler
(CloudStoreInf manager, String bucket, org.cdlib.mrt.utility.LoggerInf logger) protected boolean
initialMeta
(String key) protected boolean
process()
protected boolean
setForceTest
(int forceTest) protected boolean
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
KEY
- See Also:
-
fileContent
protected org.cdlib.mrt.core.FileContent fileContent -
error
-
-
Constructor Details
-
StateHandler
protected StateHandler(CloudStoreInf manager, String bucket, String inKey, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
-
Method Details
-
getStateHandler
public static StateHandler getStateHandler(CloudStoreInf manager, String bucket, String key, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getStateHandler
public static StateHandler getStateHandler(CloudStoreInf manager, String bucket, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
process
- Throws:
org.cdlib.mrt.utility.TException
-
setError
-
testIsAlive
protected boolean testIsAlive() throws org.cdlib.mrt.utility.TException- Throws:
org.cdlib.mrt.utility.TException
-
initialMeta
- Throws:
org.cdlib.mrt.utility.TException
-
meta
- Throws:
org.cdlib.mrt.utility.TException
-
fixity
protected boolean fixity(String key, String digestType, String testDigest, long testLength) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
add
- Throws:
org.cdlib.mrt.utility.TException
-
content
- Throws:
org.cdlib.mrt.utility.TException
-
delete
- Throws:
org.cdlib.mrt.utility.TException
-
setForceTest
-
getError
-