Class MultiIndexerLock


  • public class MultiIndexerLock
    extends Object

    A re-entrant lock that allows callers to query whether the lock is held by a particular indexer.

    • Constructor Detail

      • MultiIndexerLock

        public MultiIndexerLock​(ReentrantLock globalLock)
    • Method Detail

      • lock

        public void lock​(String indexerId)
      • isLockedBy

        public boolean isLockedBy​(String indexerId)
      • unlock

        public void unlock​(String indexerId)