org.gcube.data.harmonization.occurrence.operating
Class MyThreadFactory
java.lang.Object
org.gcube.data.harmonization.occurrence.operating.MyThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class MyThreadFactory
- extends Object
- implements ThreadFactory
Uses java.util.concurrent.Executors.defaultThreadFactory() setting threadLabel and priority (optional)
- Author:
- fabio
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyThreadFactory
public MyThreadFactory(String threadLabel,
int priority)
MyThreadFactory
public MyThreadFactory(String threadLabel)
newThread
public Thread newThread(Runnable arg0)
- Specified by:
newThread in interface ThreadFactory
Copyright © 2012. All Rights Reserved.