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 interfaceAsyncIndexerLock.LockTokenMarker interface.
-
Field Summary
Fields Modifier and Type Field Description static AsyncIndexerLockNOOP_LOCK
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tlock(java.lang.String asyncIndexerLane)voidunlock(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
-
-