Package com.ibm.fhir.bucket.reindex
Class DriveReindexOperation
- java.lang.Object
-
- com.ibm.fhir.bucket.reindex.DriveReindexOperation
-
- Direct Known Subclasses:
ClientDrivenReindexOperation
,ServerDrivenReindexOperation
public abstract class DriveReindexOperation extends java.lang.Object
Drives the $reindex custom operation in parallel.
-
-
Constructor Summary
Constructors Constructor Description DriveReindexOperation()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
init()
Start the main loop.protected static Integer
intValue(int val)
Wrapper for integers.abstract void
signalStop()
Program is stopping, so tell the threads they can stop, too.protected static String
str(java.lang.String str)
Wrapper for strings.abstract void
waitForStop()
Wait until things are stopped.
-
-
-
Method Detail
-
init
public abstract void init()
Start the main loop.
-
signalStop
public abstract void signalStop()
Program is stopping, so tell the threads they can stop, too.
-
waitForStop
public abstract void waitForStop()
Wait until things are stopped.
-
str
protected static String str(java.lang.String str)
Wrapper for strings.- Parameters:
str
- the string- Returns:
- the string
-
intValue
protected static Integer intValue(int val)
Wrapper for integers.- Parameters:
val
- the integer- Returns:
- the integer
-
-