Searched defs:release (Results 1 - 19 of 19) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DLock.java101 public abstract void release() throws IOException; method in class:Lock
138 lock.release();
H A DNoLockFactory.java65 public void release() { method in class:NoLock
H A DSingleInstanceLockFactory.java74 public void release() { method in class:SingleInstanceLock
H A DSimpleFSLockFactory.java132 public void release() throws LockReleaseFailedException { method in class:SimpleFSLock
H A DVerifyingLockFactory.java27 * LockFactory} and verifies that each lock obtain/release
92 public synchronized void release() throws IOException { method in class:VerifyingLockFactory.CheckedLock
95 lock.release();
H A DNativeFSLockFactory.java105 // Try to release the lock first - if it's held by another process, this
110 makeLock(lockName).release();
262 public synchronized void release() throws IOException { method in class:NativeFSLock
265 lock.release();
287 // if we don't hold the lock, and somebody still called release(), for
289 // to obtain the lock and release it. If the obtain fails, it means the
301 release();
317 // Try to obtain and release (if was locked) the lock
320 if (obtained) release();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestLock.java47 public void release() { method in class:TestLock.LockMock
H A DTestLockFactory.java186 l.release();
189 l2.release();
195 l.release();
209 l.release();
210 assertFalse("failed to release lock", l.isLocked());
227 l2.release();
232 l.release();
411 public void release() { method in class:TestLockFactory.MockLockFactory.MockLock
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestLock.java47 public void release() { method in class:TestLock.LockMock
H A DTestLockFactory.java184 l.release();
187 l2.release();
193 l.release();
207 l.release();
208 assertFalse("failed to release lock", l.isLocked());
225 l2.release();
230 l.release();
409 public void release() { method in class:TestLockFactory.MockLockFactory.MockLock
/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.
99 * explicitly released via {@link #release(String)}.
172 * @see SnapshotDeletionPolicy#release(String)
175 public synchronized void release(String id) throws IOException { method in class:PersistentSnapshotDeletionPolicy
176 super.release(id);
H A DSnapshotDeletionPolicy.java34 * {@link IndexDeletionPolicy} and adds the ability to hold and later release
164 * released via {@link #release(String)}
317 public synchronized void release(String id) throws IOException { method in class:SnapshotDeletionPolicy
334 * commit can be removed by calling {@link #release(String)} using the same ID
344 * total index size, until you release the snapshot.
H A DIndexWriter.java511 * @return true if this release altered the index (eg
517 public synchronized boolean release(SegmentReader sr) throws IOException { method in class:IndexWriter.ReaderPool
518 return release(sr, false);
524 * @return true if this release altered the index (eg
530 public synchronized boolean release(SegmentReader sr, boolean drop) throws IOException { method in class:IndexWriter.ReaderPool
558 // not pooling readers, we release it:
651 * it when you're done (ie, do not call release()).
664 * must be returned by calling {@link #release(SegmentReader)}
665 * @see #release(SegmentReader)
676 * must be returned by calling {@link #release(SegmentReade
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockLockFactoryWrapper.java81 public void release() throws IOException { method in class:MockLockFactoryWrapper.MockLock
82 delegateLock.release();
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockLockFactoryWrapper.java77 public void release() throws IOException { method in class:MockLockFactoryWrapper.MockLock
78 delegateLock.release();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DReferenceManager.java35 * {@link #release(Object) released}.
57 release(oldReference);
77 * call to {@link #release}; it's best to do so in a finally clause, and set
94 * affected, and they should still be {@link #release released} when they are
146 release(newReference);
151 release(reference);
155 reopenLock.release();
172 public final void release(G reference) throws IOException { method in class:ReferenceManager
H A DSearcherLifetimeManager.java68 * mgr.release(searcher);
197 * later call {@link #release} on this searcher, best
214 public void release(IndexSearcher s) throws IOException { method in class:SearcherLifetimeManager
287 * should still call {@link #release} after they are
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestPayloads.java569 pool.release(payload);
588 synchronized void release(byte[] b) { method in class:TestPayloads.ByteArrayPool
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestPayloads.java569 pool.release(payload);
588 synchronized void release(byte[] b) { method in class:TestPayloads.ByteArrayPool

Completed in 31 milliseconds