|
@@ -119,6 +119,7 @@ public class SimpleNode<KEYIN, VALUEIN, KEYOUT, VALUEOUT>
|
|
}
|
|
}
|
|
|
|
|
|
private void execute(KEYIN key, VALUEIN value) {
|
|
private void execute(KEYIN key, VALUEIN value) {
|
|
|
|
+ long s = System.currentTimeMillis();
|
|
try {
|
|
try {
|
|
if (LOG.isDebugEnabled()) {
|
|
if (LOG.isDebugEnabled()) {
|
|
LOG.debug(new StringBuilder("[" + nodeName + "]. ").append("handle entry. key=")
|
|
LOG.debug(new StringBuilder("[" + nodeName + "]. ").append("handle entry. key=")
|
|
@@ -158,6 +159,11 @@ public class SimpleNode<KEYIN, VALUEIN, KEYOUT, VALUEOUT>
|
|
.append(null == key ? null : key.toString()).append("; value=")
|
|
.append(null == key ? null : key.toString()).append("; value=")
|
|
.append(null == value ? null : value.toString()).toString(), e);
|
|
.append(null == value ? null : value.toString()).toString(), e);
|
|
}
|
|
}
|
|
|
|
+ } finally {
|
|
|
|
+ if (LOG.isDebugEnabled()) {
|
|
|
|
+ LOG.debug(new StringBuilder("[" + nodeName + "]. ").append("cost ")
|
|
|
|
+ .append(System.currentTimeMillis() - s).append("ms.").toString());
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|