This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nation.know.aryan.com.poolofthreads.runnable; | |
import nation.know.aryan.com.poolofthreads.threadPoolClass.MyPool; | |
/** | |
* Created by user on 11/1/18. | |
*/ | |
public class MyRunnable implements Runnable { | |
MyPool info; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nation.know.aryan.com.poolofthreads.rejectedExecutionHandler; | |
import java.util.concurrent.RejectedExecutionException; | |
import java.util.concurrent.RejectedExecutionHandler; | |
import java.util.concurrent.ThreadPoolExecutor; | |
/** | |
* Created by dell on 1/14/2018. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nation.know.aryan.com.poolofthreads.threadPoolClass; | |
import android.content.Context; | |
import android.os.Handler; | |
import android.os.Looper; | |
import android.os.Message; | |
import android.os.Process; | |
import java.util.concurrent.LinkedBlockingQueue; | |
import java.util.concurrent.ThreadFactory; |
NewerOlder