Examples of markUpToDate()


Examples of org.apache.jackrabbit.oak.plugins.document.CachedNodeDocument.markUpToDate()

                // 2. OR Check if both documents have been marked up-to-date in last cycle. As in that case
                //    previous cycle would have done the required checks

                if (doc.getCreated() >= upToDateRoot.getCreated()
                        || doc.getLastCheckTime() == upToDateRoot.getLastCheckTime()) {
                    doc.markUpToDate(time);
                }
            }

            private void buildPath(StringBuilder sb) {
                if (!isRoot()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.CachedNodeDocument.markUpToDate()

                // 2. OR Check if both documents have been marked up-to-date in last cycle. As in that case
                //    previous cycle would have done the required checks

                if (doc.getCreated() >= upToDateRoot.getCreated()
                        || doc.getLastCheckTime() == upToDateRoot.getLastCheckTime()) {
                    doc.markUpToDate(time);
                }
            }

            private void buildPath(StringBuilder sb) {
                if (!isRoot()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.CachedNodeDocument.markUpToDate()

                // 2. OR Check if both documents have been marked up-to-date in last cycle. As in that case
                //    previous cycle would have done the required checks

                if (doc.getCreated() >= upToDateRoot.getCreated()
                        || doc.getLastCheckTime() == upToDateRoot.getLastCheckTime()) {
                    doc.markUpToDate(time);
                }
            }

            private void buildPath(StringBuilder sb) {
                if (!isRoot()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.CachedNodeDocument.markUpToDate()

                // 2. OR Check if both documents have been marked up-to-date in last cycle. As in that case
                //    previous cycle would have done the required checks

                if (doc.getCreated() >= upToDateRoot.getCreated()
                        || doc.getLastCheckTime() == upToDateRoot.getLastCheckTime()) {
                    doc.markUpToDate(time);
                }
            }

            private void buildPath(StringBuilder sb) {
                if (!isRoot()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.NodeDocument.markUpToDate()

                synchronized (pointer) {
                    value = memoryManager.retrieve(pointer);
                }

                NodeDocument doc = serializer.deserialize(value, pointer.getClazz());
                doc.markUpToDate(getLastCheckTime());
                return doc;
            } catch (Exception e) {
                log.warn("Not able to deserialize doc {} with pointer {}", new Object[]{key, pointer, e});
            }
            return null;
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.NodeDocument.markUpToDate()

                if (cachedModCount == null) {
                    throw new IllegalStateException("Missing " + Document.MOD_COUNT);
                }
                if (modCount.longValue() <= cachedModCount.longValue()) {
                    // we can use the cached document
                    inCache.markUpToDate(now);
                    return (T) inCache;
                }
            }
        }
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.document.NodeDocument.markUpToDate()

                synchronized (pointer) {
                    value = memoryManager.retrieve(pointer);
                }

                NodeDocument doc = serializer.deserialize(value, pointer.getClazz());
                doc.markUpToDate(getLastCheckTime());
                return doc;
            } catch (Exception e) {
                log.warn("Not able to deserialize doc {} with pointer {}", new Object[]{key, pointer, e});
            }
            return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.