2020-06-06 18:45:20 +02:00
|
|
|
package org.mercury_im.messenger.core.util;
|
2019-10-28 14:56:56 +01:00
|
|
|
|
|
|
|
/**
|
2019-12-22 00:38:40 +01:00
|
|
|
* Names for identifying scheduler instances during dependency injection.
|
2019-10-28 14:56:56 +01:00
|
|
|
*/
|
|
|
|
public class ThreadUtils {
|
|
|
|
/**
|
|
|
|
* Name for the database / io thread.
|
|
|
|
*/
|
|
|
|
public static final String SCHEDULER_IO = "DatabaseThread";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Name for the UI / main thread.
|
|
|
|
*/
|
|
|
|
public static final String SCHEDULER_UI = "UIThread";
|
2020-05-27 22:34:27 +02:00
|
|
|
|
|
|
|
public static final String SCHEDULER_NEW_THREAD = "NewThread";
|
2019-10-28 14:56:56 +01:00
|
|
|
}
|