Interface CoreReadLock

All Known Implementing Classes:
PredicateCoreReadLock, SimpleCoreReadLock

public interface CoreReadLock
Author:
Juergen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    lock all
    void
    lock(String predicate)
    lock single predicate
    void
    lock(Set<String> lockPredicates, boolean lockIDB, boolean lockSymbolTable)
    set read lock
    void
    unlock
    void
    unlock(String predicate)
    unlock single predicate
    void
    unlock(Set<String> lockPredicates, boolean lockIDB, boolean lockSymbolTable)
    unlock read lock
  • Method Details

    • lock

      void lock(Set<String> lockPredicates, boolean lockIDB, boolean lockSymbolTable)
      set read lock
      Parameters:
      lockPredicates - , predicates to be locked
      lockIDB - , should idb be locked
      lockSymbolTable - , should symbol table be locked
    • unlock

      void unlock(Set<String> lockPredicates, boolean lockIDB, boolean lockSymbolTable)
      unlock read lock
      Parameters:
      lockPredicates - , predicates to be unlocked
      lockIDB - , should idb be unlocked
      lockSymbolTable - , should symbol table be unlocked
    • lock

      void lock(String predicate)
      lock single predicate
      Parameters:
      predicate -
    • unlock

      void unlock(String predicate)
      unlock single predicate
      Parameters:
      predicate -
    • lock

      void lock()
      lock all
    • unlock

      void unlock()
      unlock