InfinispanDirectory
BaseLuceneLock
289290291292293294295
} private static LockFactory makeDefaultLockFactory(Cache cache, String indexName) { checkNotNull(cache, "cache"); checkNotNull(indexName, "indexName"); return new BaseLockFactory(cache, indexName); }
129130131132133134135
} private static LockFactory makeDefaultLockFactory(Cache<?, ?> cache, String indexName) { checkNotNull(cache, "cache"); checkNotNull(indexName, "indexName"); return new BaseLockFactory(cache, indexName); }
346347348349350351352
81828384858687
public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName, LockFactory lf) { this(cache, indexName, lf, DEFAULT_BUFFER_SIZE); } public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName, int chunkSize) { this(cache, indexName, new BaseLockFactory(cache, indexName), chunkSize); }
85868788899091
public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName, int chunkSize) { this(cache, indexName, new BaseLockFactory(cache, indexName), chunkSize); } public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName) { this(cache, indexName, new BaseLockFactory(cache, indexName), DEFAULT_BUFFER_SIZE); }
326327328329330331332
303304305306307308309
337338339340341342343
120121122123124125126
311312313314315316317