Class Main
- java.lang.Object
-
- com.ibm.fhir.persistence.blob.app.Main
-
public class Main extends java.lang.ObjectStandalone 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 voiddoReads()Read each of the resources in the resourceListstatic voidmain(java.lang.String[] args)Entry pointprotected voidparseArgs(java.lang.String[] args)Parse the command line argumentsprotected voidprocess()Process what was requested on the CLIprotected voidreadDatabaseProperties(java.lang.String filename)Read database properties from the given filenameprotected voidrunReconciliation()Run the reconciliation processprotected voidterminate()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.ExceptionProcess what was requested on the CLI- Throws:
java.lang.Exception
-
runReconciliation
protected void runReconciliation() throws java.lang.ExceptionRun the reconciliation process- Throws:
java.lang.Exception
-
doReads
protected void doReads() throws java.lang.ExceptionRead 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-
-
-