Home | History | Annotate | Download | only in util

Lines Matching defs:Snapshot

90  * <p>Clients call {@link #get} to read a snapshot of an entry. The read will
168 * a sequence number each time an edit is committed. A snapshot is stale if
469 * Returns a snapshot of the entry named {@code key}, or null if it doesn't
473 public synchronized Snapshot get(String key) throws IOException {
487 * snapshot. If we opened streams lazily then the streams could come
506 return new Snapshot(key, entry.sequenceNumber, ins);
523 return null; // snapshot is stale
728 * A snapshot of the values for an entry.
730 public final class Snapshot implements Closeable {
735 private Snapshot(String key, long sequenceNumber, InputStream[] ins) {
742 * Returns an editor for this snapshot's entry, or null if either the
743 * entry has changed since this snapshot was created or if another edit