InfinispanDirectory
BaseLuceneLock
108109110111112113114
} private static LockFactory makeDefaultLockFactory(Cache<?, ?> cache, String indexName) { checkNotNull(cache, "cache"); checkNotNull(indexName, "indexName"); return new BaseLockFactory(cache, indexName); }
75767778798081
public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName, LockFactory lf) { this(cache, indexName, lf, InfinispanIndexIO.DEFAULT_BUFFER_SIZE); } public InfinispanDirectory(Cache<CacheKey, Object> cache, String indexName, int chunkSize) { this(cache, indexName, new BaseLockFactory(cache, indexName), chunkSize); }
79808182838485
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), InfinispanIndexIO.DEFAULT_BUFFER_SIZE); }
310311312313314315316
335336337338339340341
326327328329330331332
} private static LockFactory makeDefaultLockFactory(Cache cache, String indexName) { checkNotNull(cache, "cache"); checkNotNull(indexName, "indexName"); return new BaseLockFactory(cache, indexName); }
344345346347348349350
315316317318319320321
124125126127128129130