Class Mutex.Manager.ForMap<O,​K,​V>

java.lang.Object
org.burningwave.core.extension.concurrent.Mutex.Manager
org.burningwave.core.extension.concurrent.Mutex.Manager.ForMap<O,​K,​V>
All Implemented Interfaces:
AutoCloseable, org.burningwave.core.Component, org.burningwave.core.iterable.Properties.Listener, org.burningwave.core.ManagedLogger
Enclosing class:
Mutex.Manager

public static class Mutex.Manager.ForMap<O,​K,​V>
extends Mutex.Manager
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.burningwave.core.extension.concurrent.Mutex.Manager

    Mutex.Manager.ForMap<O,​K,​V>

    Nested classes/interfaces inherited from interface org.burningwave.core.ManagedLogger

    org.burningwave.core.ManagedLogger.Repository
  • Method Summary

    Modifier and Type Method Description
    Mutex<K,​V> addMutexFor​(O operation, K key, Predicate<V> predicate)  
    void clearMutexes()  
    void close()  
    static <O,​ K,​ V> Mutex.Manager.ForMap<O,​K,​V> create​(Function<K,​V> valueRetriever)  
    Set<Mutex<K,​V>> getMutexes​(O operation)  
    void unlockMutexes​(O operation, K key, V value)  
    V waitFor​(O operation, K key, Predicate<V> predicate, int... timeout)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.burningwave.core.Component

    getOrCreateTemporaryFolder, getTemporaryFolderPrefix

    Methods inherited from interface org.burningwave.core.ManagedLogger

    disableLogging, enableLogging, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarn, logWarn

    Methods inherited from interface org.burningwave.core.iterable.Properties.Listener

    listenTo, receiveNotification