All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jcr.observation.EventJournal Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2009 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.observation;

/**
 * An EventJournal is an extension of EventIterator
 * that provides the additional method {@link #skipTo(long)}.
 *
 * @since JCR 2.0
 */
public interface EventJournal extends EventIterator {

    /**
     * Skip all elements of the iterator earlier than date.
     * 

* If an attempt is made to skip past the last element of the iterator, no * exception is thrown but the subsequent {@link #nextEvent()} will fail. * * @param date a long value that represents an offset in milliseconds from * the Epoch, January 1, 1970 00:00:00.000 GMT (Gregorian). */ public void skipTo(long date); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy