Searched defs:snapshot (Results 1 - 2 of 2) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DPersistentSnapshotDeletionPolicy.java40 * {@link #snapshot(String)} or {@link #release(String)} is called.
116 // Initialize the index writer over the snapshot directory.
146 // that any snapshot IDs with empty IndexCommits are released. Since this
154 * snapshot information is persisted in the directory.
156 * @see SnapshotDeletionPolicy#snapshot(String)
159 public synchronized IndexCommit snapshot(String id) throws IOException { method in class:PersistentSnapshotDeletionPolicy
162 throw new IllegalArgumentException(id + " is reserved and cannot be used as a snapshot id");
165 return super.snapshot(id);
169 * Deletes a snapshotted commit by ID. Once this method returns, the snapshot
H A DSnapshotDeletionPolicy.java35 * snapshots of an index. While a snapshot is held, the {@link IndexWriter} will
86 * returns false if this segment is currently held as snapshot.
166 * A mapping of snapshot ID to the segments filename that is being
185 * Checks if the given id is already used by another snapshot, and throws
195 /** Registers the given snapshot information. */
223 * if no snapshot exists by the specified ID.
224 * @return The {@link IndexCommit} for this particular snapshot.
229 throw new IllegalStateException("No snapshot exists by ID: " + id);
235 * Get all the snapshots in a map of snapshot IDs to the segments they
249 * Returns true if the given ID is already used by a snapshot
353 public synchronized IndexCommit snapshot(String id) throws IOException { method in class:SnapshotDeletionPolicy
[all...]

Completed in 15 milliseconds