# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /Users/oleksiys/Projects/Glassfish/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: MonitorableEmbeddedHttp.java --- MonitorableEmbeddedHttp.java Base (BASE) +++ MonitorableEmbeddedHttp.java Locally Modified (Based On LOCAL) @@ -65,11 +65,11 @@ } @Override - protected DefaultThreadPool newThreadPool(int minThreads, int maxThreads, - int maxQueueSize, long keepAlive, TimeUnit timeunit) { + protected DefaultThreadPool newThreadPool(String name, int minThreads, + int maxThreads, int maxQueueSize, long keepAlive, TimeUnit timeunit) { - return new MonitorableThreadPool(monitoring, listenerName, minThreads, - maxThreads, maxQueueSize, keepAlive, timeunit); + return new MonitorableThreadPool(monitoring, listenerName, name, + minThreads, maxThreads, maxQueueSize, keepAlive, timeunit); } @Override Index: MonitorableEmbeddedHttps.java --- MonitorableEmbeddedHttps.java Base (BASE) +++ MonitorableEmbeddedHttps.java Locally Modified (Based On LOCAL) @@ -64,10 +64,10 @@ } @Override - protected DefaultThreadPool newThreadPool(int minThreads, int maxThreads, - int maxQueueSize, long keepAlive, TimeUnit timeunit) { + protected DefaultThreadPool newThreadPool(String name, int minThreads, + int maxThreads, int maxQueueSize, long keepAlive, TimeUnit timeunit) { - return new MonitorableThreadPool(monitoring, listenerName, + return new MonitorableThreadPool(monitoring, listenerName, name, minThreads, maxThreads, maxQueueSize, keepAlive, timeunit); } Index: MonitorableThreadPool.java --- MonitorableThreadPool.java Base (BASE) +++ MonitorableThreadPool.java Locally Modified (Based On LOCAL) @@ -61,9 +61,10 @@ public MonitorableThreadPool( GrizzlyMonitoring monitoring, String threadPoolMonitoringName, - int corePoolSize, int maximumPoolSize, int maxTasksCount, - long keepAliveTime, TimeUnit unit) { - super(corePoolSize, maximumPoolSize, maxTasksCount, keepAliveTime, unit); + String threadPoolName, int corePoolSize, int maximumPoolSize, + int maxTasksCount, long keepAliveTime, TimeUnit unit) { + super(threadPoolName, corePoolSize, maximumPoolSize, maxTasksCount, + keepAliveTime, unit); this.monitoring = monitoring; this.threadPoolMonitoringName = threadPoolMonitoringName; setThreadFactory(new ProbeWorkerThreadFactory());