Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
This commit is contained in:
commit
04dc257641
|
@ -11,7 +11,7 @@ pipeline {
|
||||||
agent { node { label 'linux' } }
|
agent { node { label 'linux' } }
|
||||||
options { timeout(time: 120, unit: 'MINUTES') }
|
options { timeout(time: 120, unit: 'MINUTES') }
|
||||||
steps {
|
steps {
|
||||||
mavenBuild("jdk11", "-Pmongodb install", "maven3", true) // -Pautobahn
|
mavenBuild("jdk11", "-Pmongodb clean install", "maven3", true) // -Pautobahn
|
||||||
// Collect up the jacoco execution results (only on main build)
|
// Collect up the jacoco execution results (only on main build)
|
||||||
jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
|
jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
|
||||||
exclusionPattern: '' +
|
exclusionPattern: '' +
|
||||||
|
@ -44,7 +44,7 @@ pipeline {
|
||||||
agent { node { label 'linux' } }
|
agent { node { label 'linux' } }
|
||||||
steps {
|
steps {
|
||||||
timeout(time: 120, unit: 'MINUTES') {
|
timeout(time: 120, unit: 'MINUTES') {
|
||||||
mavenBuild("jdk13", "-Pmongodb install", "maven3", true)
|
mavenBuild("jdk13", "-Pmongodb clean install", "maven3", true)
|
||||||
warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']]
|
warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']]
|
||||||
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml'
|
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml'
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ pipeline {
|
||||||
agent { node { label 'linux' } }
|
agent { node { label 'linux' } }
|
||||||
steps {
|
steps {
|
||||||
timeout(time: 30, unit: 'MINUTES') {
|
timeout(time: 30, unit: 'MINUTES') {
|
||||||
mavenBuild("jdk11", "install -f build-resources", "maven3", true)
|
mavenBuild("jdk11", "clean install -f build-resources", "maven3", true)
|
||||||
mavenBuild("jdk11", "install checkstyle:check -DskipTests", "maven3", true)
|
mavenBuild("jdk11", "install checkstyle:check -DskipTests", "maven3", true)
|
||||||
recordIssues(
|
recordIssues(
|
||||||
enabledForFailure: true, aggregatingResults: true,
|
enabledForFailure: true, aggregatingResults: true,
|
||||||
|
|
|
@ -68,7 +68,7 @@ public abstract class AbstractConnectionPool implements ConnectionPool, Dumpable
|
||||||
}
|
}
|
||||||
|
|
||||||
@ManagedAttribute(value = "The number of pending connections", readonly = true)
|
@ManagedAttribute(value = "The number of pending connections", readonly = true)
|
||||||
public int getPendingCount()
|
public int getPendingConnectionCount()
|
||||||
{
|
{
|
||||||
return connections.getHi();
|
return connections.getHi();
|
||||||
}
|
}
|
||||||
|
|
|
@ -309,9 +309,10 @@ public class DuplexConnectionPool extends AbstractConnectionPool implements Swee
|
||||||
unlock();
|
unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
return String.format("%s@%x[c=%d/%d,a=%d,i=%d]",
|
return String.format("%s@%x[c=%d/%d/%d,a=%d,i=%d]",
|
||||||
getClass().getSimpleName(),
|
getClass().getSimpleName(),
|
||||||
hashCode(),
|
hashCode(),
|
||||||
|
getPendingConnectionCount(),
|
||||||
getConnectionCount(),
|
getConnectionCount(),
|
||||||
getMaxConnectionCount(),
|
getMaxConnectionCount(),
|
||||||
activeSize,
|
activeSize,
|
||||||
|
|
|
@ -265,9 +265,10 @@ public class MultiplexConnectionPool extends AbstractConnectionPool implements C
|
||||||
activeSize = activeConnections.size();
|
activeSize = activeConnections.size();
|
||||||
idleSize = idleConnections.size();
|
idleSize = idleConnections.size();
|
||||||
}
|
}
|
||||||
return String.format("%s@%x[connections=%d/%d,multiplex=%d,active=%d,idle=%d]",
|
return String.format("%s@%x[connections=%d/%d/%d,multiplex=%d,active=%d,idle=%d]",
|
||||||
getClass().getSimpleName(),
|
getClass().getSimpleName(),
|
||||||
hashCode(),
|
hashCode(),
|
||||||
|
getPendingConnectionCount(),
|
||||||
getConnectionCount(),
|
getConnectionCount(),
|
||||||
getMaxConnectionCount(),
|
getMaxConnectionCount(),
|
||||||
getMaxMultiplex(),
|
getMaxMultiplex(),
|
||||||
|
|
|
@ -214,9 +214,10 @@ public class RoundRobinConnectionPool extends AbstractConnectionPool implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return String.format("%s@%x[c=%d/%d,a=%d]",
|
return String.format("%s@%x[c=%d/%d/%d,a=%d]",
|
||||||
getClass().getSimpleName(),
|
getClass().getSimpleName(),
|
||||||
hashCode(),
|
hashCode(),
|
||||||
|
getPendingConnectionCount(),
|
||||||
present,
|
present,
|
||||||
getMaxConnectionCount(),
|
getMaxConnectionCount(),
|
||||||
active
|
active
|
||||||
|
|
|
@ -100,7 +100,6 @@ public class ManagedAttributeListener implements ServletContextListener, Servlet
|
||||||
|
|
||||||
protected void updateBean(String name, Object oldBean, Object newBean)
|
protected void updateBean(String name, Object oldBean, Object newBean)
|
||||||
{
|
{
|
||||||
LOG.info("update {} {}->{} on {}", name, oldBean, newBean, _context);
|
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
LOG.debug("update {} {}->{} on {}", name, oldBean, newBean, _context);
|
LOG.debug("update {} {}->{} on {}", name, oldBean, newBean, _context);
|
||||||
_context.updateBean(oldBean, newBean, false);
|
_context.updateBean(oldBean, newBean, false);
|
||||||
|
|
Loading…
Reference in New Issue