run

 

public void run();

Runs Cleanup. It runs in the background at intervals, as determined by setCleanupLevel() and setCleanupInterval(). If the field set by setCleanupInterval() is zero, Cleanup runs once and returns. Otherwise Cleanup runs regularly at the time in milliseconds set by setCleanupInterval(). CleanupInterval must be zero with JMSC.MQJMS_CLEANUP_FORCE or JMSC.MQJMS_CLEANUP_NONDUR set, and CleanupLevel cannot be MQJMS_CLEANUP_NONE. In these cases the method fails with an IllegalStateException. Any exceptions generated are routed to the ExceptionListener.


uj27400_