VersionedNode.toString() prints the entire subtree
--------------------------------------------------
Key: JBCACHE-1132
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1132
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR3
Reporter: Brian Stansberry
Assigned To: Manik Surtani
if (children != null && !children.isEmpty())
{
sb.append(" child=").append(getChildrenDirect(false));
}
If you call CacheImpl.root.toString() you're going to get the entire cache. Perhaps
use getChildrenNamesDirect() instead?
I was looking at logs for debugging and saw a lot of this kind of thing:
2007-07-11 15:47:03,002 DEBUG
[org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor] Found child node in
the workspace: VersionedNode[ /clusteredentity-optimistic-test_jar,tempdb data=[]
child=[VersionedNode[ /clusteredentity-optimistic-test_jar,tempdb/org data=[]
child=[VersionedNode[ /clusteredentity-optimistic-test_jar,tempdb/org/jboss data=[]
child=[VersionedNode[ /clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3 data=[]
child=[VersionedNode[ /clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3/test
data=[] child=[VersionedNode[
/clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3/test/clusteredentity data=[]
child=[VersionedNode[
/clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3/test/clusteredentity/Customer
data=[] child=[VersionedNode[
/clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3/test/clusteredentity/Customer/contacts
data=[]]]], VersionedNode[
/clusteredentity-optimistic-test_jar,tempdb/org/jboss/ejb3/test/clusteredentity/Contact
data=[]]]]]]]]]]]]]]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira