Interface JcrDatastoreTaskMonitor
-
public interface JcrDatastoreTaskMonitor
This interface defines a task monitor dedicated to the JCR DataStore management.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JcrDatastoreTaskMonitor.Status
Status of aJcrDatastoreTaskMonitor
instance at a given instant.static class
JcrDatastoreTaskMonitor.StatusType
Different task status types
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Exception>
getError()
Gets the error if any.long
getNbNodeProcessed()
Gets the number of processed nodes.List<JcrDatastoreTaskMonitor.Status>
getStatuses()
Gets the running status list of the task.String
getType()
Gets the types of task monitor.
-
-
-
Method Detail
-
getType
String getType()
Gets the types of task monitor."DATASTORE_PURGE" for example.
- Returns:
- a string.
-
getStatuses
List<JcrDatastoreTaskMonitor.Status> getStatuses()
Gets the running status list of the task.- Returns:
- a
JcrDatastoreTaskMonitor.Status
instance.
-
getError
Optional<Exception> getError()
Gets the error if any.- Returns:
- an optional
Exception
instance.
-
getNbNodeProcessed
long getNbNodeProcessed()
Gets the number of processed nodes.- Returns:
- a long.
-
-