Index: jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ConsolidatedChanges.java =================================================================== --- jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ConsolidatedChanges.java (nonexistent) +++ jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ConsolidatedChanges.java (working copy) @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.jackrabbit.api.observation; + +import javax.jcr.observation.Event; + +/** + * Marker interface for a JCR {@code EventListener}. A listener that implements + * this interface allows the repository to consolidate changes and deliver + * events for those changes. E.g. a node created by one session and removed + * by another session quickly afterwards may result in no events delivered at + * all. Similarly, if a property is updated multiple times, the listener may not + * get events for each individual update. The repository guarantees that the + * listener will get at least one event. + *
+ * When the repository delivers event for consolidated changes, the methods + * {@link Event#getUserID()}, {@link Event#getInfo()} and + * {@link Event#getUserData()} will return an implementation dependent value, + * which may be different from events delivered to listener without consolidated + * changes. + *
+ * All delivered events will appear as external events, even for local changes. + * + * @since 2.13.4 + */ +public interface ConsolidatedChanges { +} Property changes on: jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/ConsolidatedChanges.java ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/package-info.java =================================================================== --- jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/package-info.java (revision 1760890) +++ jackrabbit-api/src/main/java/org/apache/jackrabbit/api/observation/package-info.java (working copy) @@ -18,5 +18,5 @@ /** * Jackrabbit extensions for JCR observation. */ -@aQute.bnd.annotation.Version("2.3.1") +@aQute.bnd.annotation.Version("2.4.0") package org.apache.jackrabbit.api.observation;