Interface AsyncIndexerLock<T extends AsyncIndexerLock.LockToken>
-
- All Known Implementing Classes:
AbortingIndexerLock
,ClusterNodeStoreLock
public interface AsyncIndexerLock<T extends AsyncIndexerLock.LockToken>
Lock used to prevent AsyncIndexUpdate from running when Index import is in progress
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AsyncIndexerLock.LockToken
Marker interface.
-
Field Summary
Fields Modifier and Type Field Description static AsyncIndexerLock
NOOP_LOCK
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
lock(java.lang.String asyncIndexerLane)
void
unlock(T token)
-
-
-
Field Detail
-
NOOP_LOCK
static final AsyncIndexerLock NOOP_LOCK
-
-
Method Detail
-
lock
T lock(java.lang.String asyncIndexerLane) throws CommitFailedException
- Throws:
CommitFailedException
-
unlock
void unlock(T token) throws CommitFailedException
- Throws:
CommitFailedException
-
-