package net.nanopool;

public class DefaultContentionHandler implements ContentionHandler {
    
    public void handleContention() {
        System.err.println("PoolingDataSource: contention warning.");
        Thread.yield();
    }
}

@@ -85,16 +85,240 @@
 ndler %7B%0A
+    private final boolean printWarning;%0A    %0A    public DefaultContentionHandler() %7B%0A        this(true);%0A    %7D%0A    %0A    public DefaultContentionHandler(boolean printWarning) %7B%0A        this.printWarning = printWarning;%0A    %7D%0A
     %0A   
@@ -347,24 +347,54 @@
 tention() %7B%0A
+        if (printWarning)%0A    
         Syst

Allow creating it to not be so talkative about contention.