jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: JSOP
Date Tue, 29 Nov 2011 16:37:27 GMT
Hi,

What is not on this wiki page yet - because it's not defined yet - is:
"commit metadata". Commit metadata is needed when you want to:

* get multiple commits (diffs) in one block
* send multiple commits (diffs) in one block

As an example, see MicroKernel.getJournal() at
http://svn.apache.org/repos/asf/jackrabbit/sandbox/microkernel/src/main/jav
a/org/apache/jackrabbit/mk/api/MicroKernel.java

This method is supposed to get multiple commits in one operation.

I propose the following syntax:

@ {"ts": 1322055029229, "msg": "New node 'hello'"}
+ "/hello": {}
@ {"ts": 1322055029230, "msg": "New node 'world'"}
+ "/world": {}

That means, the syntax for "commit metadata" is:

METADATA ::= "@" OBJECT

Regards,

Thomas


Mime
View raw message