Class LockableMetadataIndexManager<T>

  • Type Parameters:
    T - the type of data being indexed

    public class LockableMetadataIndexManager<T>
    extends MetadataIndexManager<T>
    A specialization of MetadataIndexManager capable of read/write locking.
    • Field Detail

      • readWriteLock

        @Nonnull
        private final ReadWriteLock readWriteLock
        The manager's read write lock.
    • Constructor Detail

    • Method Detail

      • getReadWriteLock

        @Nonnull
        public ReadWriteLock getReadWriteLock()
        Get the manager's instance of the ReadWriteLock.

        Callers of the manager are responsible for explicitly locking (and unlocking) for reading and/or writing, based on application use cases.

        Returns:
        Returns the rwlock.