public interface ThreadedServiceObserver
Modifier and Type | Field and Description |
---|---|
static int |
SERVICE_COMPLETED_ABORTED
Indicates that indexing was aborted by request
|
static int |
SERVICE_COMPLETED_DIR_DOES_NOT_EXIST
Indicates that one or more of the indexing directories does not exist
|
static int |
SERVICE_COMPLETED_ERROR
Indicates that indexing completed with a severe error
|
static int |
SERVICE_COMPLETED_SUCCESS
Indicates that indexing completed normally
|
Modifier and Type | Method and Description |
---|---|
void |
serviceCompleted(int status,
java.lang.String message)
This method is called when the service is complete.
|
static final int SERVICE_COMPLETED_SUCCESS
static final int SERVICE_COMPLETED_ABORTED
static final int SERVICE_COMPLETED_ERROR
static final int SERVICE_COMPLETED_DIR_DOES_NOT_EXIST
void serviceCompleted(int status, java.lang.String message)
status
- The status code upon completionmessage
- A message describing how the indexer completed