jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kadir Alaca <al...@web.de>
Subject Atomic path creation
Date Thu, 12 Jun 2014 17:29:41 GMT

I'm creating nested node structures in a concurrent environment.

The structure looks like the following:


All items are from node type NodeType.NT_UNSTRUCTURED.

As you can see a portion of the path is created from time in milliseconds.
The reason for nesting the nodes as shown is to optimize retrieval performance.

What bothers me is the SNS in the created node structure, e.g. in the path of fancyItemWithUniqueName8.

Until the session is saved i have not full information whether a node already exist or not.

Since this is in a concurrent environment with a session per thread,
how can i create structures like the above without SNS?


View raw message