Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Having Fun

Aryan Dhankar GitEliteNovice

:octocat:
Having Fun
View GitHub Profile
View MyRejectedExecutionHandler.java
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.
*/
@GitEliteNovice
GitEliteNovice / MyPool.java
Created Jan 14, 2018
Thread pool Singleton Class
View MyPool.java
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;
You can’t perform that action at this time.