Example usage for org.apache.lucene.store Lock subclass-usage

List of usage examples for org.apache.lucene.store Lock subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.store Lock subclass-usage.

Usage

From source file com.devwebsphere.wxslucene.WXSLock.java

public class WXSLock extends Lock {
    WXSMap<String, Boolean> lockMap;
    WXSUtils client;
    String name;

    public WXSLock(WXSUtils client, String name) {

From source file com.github.lucene.store.jdbc.lock.NoOpLock.java

/**
 * A simple no op lock. Performs no locking.
 *
 * @author kimchy
 */
public class NoOpLock extends Lock implements JdbcLock {

From source file com.github.lucene.store.jdbc.lock.PhantomReadLock.java

/**
 * <p>
 * A lock based on phantom reads and table level locking. For most database and
 * most transaction isolation levels this lock is suffecient.
 *
 * <p>

From source file com.github.lucene.store.jdbc.lock.SelectForUpdateLock.java

/**
 * A lock based on select...for update.
 * <p/>
 * Note, that not all databases support select ... for update, if the database
 * (dialect) does not support it, a exception will be thrown (see
 * {@link org.apache.lucene.store.jdbc.dialect.Dialect#supportsForUpdate()} .

From source file org.apache.pylucene.store.PythonLock.java

public class PythonLock extends Lock {

    private long pythonObject;

    public PythonLock() {
    }

From source file org.compass.needle.terracotta.ManagedTerracottaLockAdapter.java

/**
 * An adapter ontop of a lock that releases the managed read lock when trying to obtain
 * a Lucene lock and obtains the read lock again once the Lucene lock obtain is done.
 * It is done in order to prevent dead locks when several clients/threads obtain the read lock
 * when the "transaction" starts, and they wait for the lucene lock without actually releasing the
 * read lock for other "write locks (the add file)" to be able to be obtained.

From source file org.compass.needle.terracotta.TerracottaLock.java

/**
 * @author kimchy
 */
class TerracottaLock extends Lock {

    private String lockName;

From source file org.lahab.clucene.core.BlobLock.java

public class BlobLock extends Lock {
    private static final Logger LOGGER = Logger.getLogger(BlobLock.class.getName());
    protected String lockedFile;
    protected BlobDirectoryFS directory;
    protected String leaseId;

From source file voldemort.lucene.locking.VoldemortLuceneLock.java

/**
 * Inter-IndexWriter Lucene index lock based on Voldemort.
 *
 * @author W.J. Blackburn
 * @author Sanne Grinovero
 * @author Ralf Ulrich