@MXBean
public interface DataLoadManagerMXBean
The interface used to restore persisted data for the server and bring the system out of PRELOAD.
The MXBean is available on the servers hosting the runtime, using the object name com.ibm.ia:type=CISDataLoader.
This MXBean is required when persistence is configured and the system is being started or restarted following a shutdown.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MXBEAN_OBJECT_NAME
The object name by which a JMX client can find the DataLoadManagerMXBean
|
| Modifier and Type | Method and Description |
|---|---|
DataLoadStatus |
checkLoadProgress()
Returns a DataLoadStatus object that contains a percentage representing the number of data batches that have been loaded
into the system and a DataLoadState enumeration indicating the stage in the load process.
|
double |
getLoadCompletePercentage()
Returns a double representing the percentage of batches that have been loaded into the system.
|
java.lang.String |
getLoadProgressDescription()
Returns a String representation of the stage of the load process the system is in.
|
boolean |
isGridOnline()
Determines if the Grid State is ONLINE.
|
boolean |
isLoadComplete()
Determines if loading of data has finished
|
int |
loadData()
Asynchronous call to begin restoring the persisted data into the system.
|
boolean |
setGridOnline()
Sets the Grid State to ONLINE from PRELOAD.
|
static final java.lang.String MXBEAN_OBJECT_NAME
int loadData()
throws java.lang.IllegalStateException
Asynchronous call to begin restoring the persisted data into the system. Data held in the database is stored in batches, the batch size is determined by the "batchLimit" property of the server configuration.
Return details:
0 or above: This represents the number of batches being restored.
-1: The system is not configured for persistence.
-2: A load has already been started. Additional loads are not supported.
java.lang.IllegalStateException - Thrown when the server encounters a fatal errorDataLoadStatus checkLoadProgress() throws java.lang.IllegalStateException
java.lang.IllegalStateException - Thrown when the server encounters a fatal errordouble getLoadCompletePercentage()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionjava.lang.String getLoadProgressDescription()
throws java.lang.IllegalStateException
Possible values are: NOT_STARTED, RESTORING, FINISHED, NOTHING_TO_DO.
java.lang.IllegalStateExceptionboolean setGridOnline()
throws java.lang.IllegalStateException
Sets the Grid State to ONLINE from PRELOAD. If the original Grid State is anything but PRELOAD, the Grid State remains unchanged.
java.lang.IllegalStateException - Thrown when the server encounters a fatal errorboolean isGridOnline()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - Thrown when the server encounters a fatal errorboolean isLoadComplete()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - Thrown when the server encounters a fatal error© Copyright IBM 2017