Searched refs:lf (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DVerifyingLockFactory.java41 LockFactory lf; field in class:VerifyingLockFactory
102 * @param lf the LockFactory that we are testing
108 public VerifyingLockFactory(byte id, LockFactory lf, String host, int port) throws IOException { argument
110 this.lf = lf;
117 return new CheckedLock(lf.makeLock(lockName));
123 lf.clearLock(lockName);
H A DFSDirectory.java195 final FSLockFactory lf = (FSLockFactory) lockFactory;
196 final File dir = lf.getLockDir();
199 lf.setLockDir(directory);
200 lf.setLockPrefix(null);
202 lf.setLockPrefix(null);
H A DNRTCachingDirectory.java110 public void setLockFactory(LockFactory lf) throws IOException { argument
111 delegate.setLockFactory(lf);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/request/
H A DSimpleFacetsTest.java1476 String lf = local==null ? f : local+f;
1483 ,"facet.field", lf
1500 ,"facet.field", lf
1518 ,"facet.field", lf
1536 ,"facet.field", lf
1552 ,"facet.field", lf
1567 ,"facet.field", lf
1582 ,"facet.field", lf
1598 ,"facet.field", lf
1614 ,"facet.field", lf
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestLockFactory.java47 MockLockFactory lf = new MockLockFactory();
48 dir.setLockFactory(lf);
51 assertTrue("lock prefix was not set by the RAMDirectory", lf.lockPrefixSet);
62 1, lf.locksCreated.size());
64 lf.makeLockCount >= 1);
66 for(final String lockName : lf.locksCreated.keySet()) {
67 MockLockFactory.MockLock lock = (MockLockFactory.MockLock) lf.locksCreated.get(lockName);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestLockFactory.java47 MockLockFactory lf = new MockLockFactory();
48 dir.setLockFactory(lf);
51 assertTrue("lock prefix was not set by the RAMDirectory", lf.lockPrefixSet);
62 1, lf.locksCreated.size());
64 lf.makeLockCount >= 1);
66 for(final String lockName : lf.locksCreated.keySet()) {
67 MockLockFactory.MockLock lock = (MockLockFactory.MockLock) lf.locksCreated.get(lockName);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneTestCase.java921 public static MockDirectoryWrapper newFSDirectory(File f, LockFactory lf) throws IOException { argument
946 if (lf != null) {
947 dir.setLockFactory(lf);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLuceneTestCase.java1099 public static MockDirectoryWrapper newFSDirectory(File f, LockFactory lf) throws IOException { argument
1117 if (lf != null) {
1118 dir.setLockFactory(lf);

Completed in 73 milliseconds