Package org.cdlib.mrt.log.utility
Class AddStateEntry
java.lang.Object
org.cdlib.mrt.log.utility.AddStateEntry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic org.json.JSONObjectvoidaddLogStateEntry(String logKey) static voidaddLogStateEntry(String logKey, org.json.JSONObject jsonState) static voidaddLogStateEntry(org.apache.logging.log4j.Level level, String logKey, org.json.JSONObject jsonState) org.json.JSONObjectorg.json.JSONObjectbuildID()org.json.JSONObjectorg.json.JSONObjectstatic AddStateEntrygetAddStateEntry(String service, String serviceProcess) getBytes()getFiles()getKey()static org.apache.logging.log4j.LoggersetAddBytes(Long addBytes) setAddFiles(Long addFiles) setAddVersions(Integer addVersions) setCurrentVersion(Integer currentVersion) setDeleteBytes(Long deleteBytes) setDeleteFiles(Long deleteFiles) setDeleteVersions(Integer deleteVersions) setDurationMs(Long durationMs) setLocalids(String localids) setObjectID(Identifier objectID) voidsetService(String service) voidsetServiceProcess(String serviceProcess) setSourceNode(Integer sourceNodeI) setSourceNode(Long sourceNode) setTargetNode(Long targetNode) setVersion(Integer version) setVersions(Integer versions)
-
Field Details
-
LOGGER
protected static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
AddStateEntry
-
-
Method Details
-
addLogStateEntry
- Throws:
TException
-
addLog
- Throws:
TException
-
addLogStateEntry
- Throws:
TException
-
addLogStateEntry
public static void addLogStateEntry(org.apache.logging.log4j.Level level, String logKey, org.json.JSONObject jsonState) throws TException - Throws:
TException
-
getAddStateEntry
-
buildService
- Throws:
TException
-
buildID
- Throws:
TException
-
buildContent
- Throws:
TException
-
buildStateJSON
- Throws:
TException
-
addLogKey
public static org.json.JSONObject addLogKey(String logKey, org.json.JSONObject jsonState) throws TException - Throws:
TException
-
getService
-
setService
-
getServiceProcess
-
setServiceProcess
-
getVersion
-
setVersion
-
getDurationMs
-
setDurationMs
-
getCurrentVersion
-
setCurrentVersion
-
getAddVersions
-
setAddVersions
-
getAddFiles
-
setAddFiles
-
getDeleteVersions
-
getAddBytes
-
setAddBytes
-
setDeleteVersions
-
getDeleteFiles
-
setDeleteFiles
-
getDeleteBytes
-
setDeleteBytes
-
getKey
-
setKey
-
getObjectID
-
setObjectID
-
setArk
- Throws:
TException
-
getLocalids
-
setLocalids
-
getSourceNode
-
setSourceNode
-
setSourceNode
-
getTargetNode
-
setTargetNode
-
getVersions
-
setVersions
-
getFiles
-
setFiles
-
getBytes
-
setBytes
-
getLOGGER
public static org.apache.logging.log4j.Logger getLOGGER()
-