You are here: com.dtsearch.engine Package > Classes > SearchJob Class > SearchJob.setStatusHandler Method
dtSearch Engine API for Java
SearchJob.setStatusHandler Method

The object that will receive status notification messages from the engine while the search is in progress.

public void setStatusHandler(Object newStatusHandler);

The object should implement these two methods: int CheckForAbort(), and void ReceiveFound(String name). CheckForAbort should return 0 if the job is to continue, or 1 to abort the search.

Copyright (c) 1998-2019 dtSearch Corp. All rights reserved.