Class Main
- java.lang.Object
-
- com.ibm.fhir.persistence.blob.app.Main
-
public class Main extends java.lang.Object
Standalone application to provide support services (like reconciliation) for payload offload using Azure Blob
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doReads()
Read each of the resources in the resourceListstatic void
main(java.lang.String[] args)
Entry pointprotected void
parseArgs(java.lang.String[] args)
Parse the command line argumentsprotected void
process()
Process what was requested on the CLIprotected void
readDatabaseProperties(java.lang.String filename)
Read database properties from the given filenameprotected void
runReconciliation()
Run the reconciliation processprotected void
terminate()
Shut down any thread pools so we can make a quick exit
-
-
-
Method Detail
-
parseArgs
protected void parseArgs(java.lang.String[] args)
Parse the command line arguments- Parameters:
args
-
-
readDatabaseProperties
protected void readDatabaseProperties(java.lang.String filename)
Read database properties from the given filename- Parameters:
filename
-
-
process
protected void process() throws java.lang.Exception
Process what was requested on the CLI- Throws:
java.lang.Exception
-
runReconciliation
protected void runReconciliation() throws java.lang.Exception
Run the reconciliation process- Throws:
java.lang.Exception
-
doReads
protected void doReads() throws java.lang.Exception
Read each of the resources in the resourceList- Throws:
java.lang.Exception
-
terminate
protected void terminate()
Shut down any thread pools so we can make a quick exit
-
main
public static void main(java.lang.String[] args)
Entry point- Parameters:
args
-
-
-