public TRTrackerServerTCP( String _name, int _port, boolean _ssl, boolean _apply_ip_filter, boolean _start_up_ready ) throws TRTrackerServerException { super( _name, _start_up_ready ); port = _port; ssl = _ssl; apply_ip_filter = _apply_ip_filter; thread_pool = new ThreadPool( "TrackerServer:TCP:"+port, THREAD_POOL_SIZE ); if ( PROCESSING_GET_LIMIT > 0 ){ thread_pool.setExecutionLimit( PROCESSING_GET_LIMIT ); } }
public NatPMPUPnPRootDeviceImpl( UPnP _upnp, NatPMPDevice _nat_device ) throws Exception { upnp = _upnp; nat_device = _nat_device; location = new URL( "http://undefined/" ); device = new NatPMPUPnPDevice(); services = new UPnPService[]{ new NatPMPUPnPWANConnection() }; thread_pool = new ThreadPool( "NatPMPUPnP", 1, true ); }
public Timer( String name, int thread_pool_size, int thread_priority ) { if (DEBUG_TIMERS) { try { timers_mon.enter(); if (timers == null) { timers = new ArrayList<>(); AEDiagnostics.addEvidenceGenerator(new evidenceGenerator()); } timers.add(new WeakReference<>(this)); } finally { timers_mon.exit(); } } thread_pool = new ThreadPool(name,thread_pool_size); SystemTime.registerClockChangeListener( this ); Thread t = new Thread(this, "Timer:" + name ); t.setDaemon( true ); t.setPriority(thread_priority); t.start(); }
final ThreadPool pool = new ThreadPool( "ConcurrentHasher", 64 );
thread_pool = new ThreadPool( "TrackerServer:UDP:"+port, THREAD_POOL_SIZE );
ThreadPool tp = new ThreadPool( "Magnet Recovery", 16, true );
private static Map remote_connections = new HashMap(); private static ThreadPool keep_alive_pool = new ThreadPool( "GenericMessageConnectionIndirect:keepAlive", 8, true );
thread_pool = new ThreadPool("Tracker NAT Checker", THREAD_POOL_SIZE );
private ThreadPool device_dispatcher = new ThreadPool("UPnPDispatcher", 1, true ); private Set device_dispatcher_pending = new HashSet();
thread_pool = new ThreadPool( "ClientIDManager", 32 );
private static final ThreadPool dns_threads = new ThreadPool( "DNS:lookups", 16, true );
ThreadPool tp = new ThreadPool("Trigger CoreRunning Listeners", 3); for (final CoreRunningListener l : runningListeners) { try {
logger ); internal_lookup_pool = new ThreadPool("DHTControl:internallookups", lookup_concurrency ); internal_put_pool = new ThreadPool("DHTControl:internalputs", lookup_concurrency ); external_lookup_pool = new ThreadPool("DHTControl:externallookups", EXTERNAL_LOOKUP_CONCURRENCY, true ); external_put_pool = new ThreadPool("DHTControl:puts", EXTERNAL_PUT_CONCURRENCY, true ); internal_lookup_pool = new ThreadPool("DHTControl:internallookups", lookup_concurrency ); internal_put_pool = new ThreadPool("DHTControl:internalputs", lookup_concurrency ); external_lookup_pool = new ThreadPool("DHTControl:externallookups", EXTERNAL_LOOKUP_CONCURRENCY, true ); external_put_pool = new ThreadPool("DHTControl:puts", EXTERNAL_PUT_CONCURRENCY, true );
private static final DiskManagerAllocationScheduler allocation_scheduler = new DiskManagerAllocationScheduler(); private static final ThreadPool start_pool = new ThreadPool( "DiskManager:start", 64, true );