Interface ConcurrentApplicationContext

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> Unit addIfNotPresent(Key<T> key, T value, Long timeout) Same as addIfNotPresent in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract <T extends Any> Object addWithOverwrite(Key<T> key, T value, Long timeout) Same as addWithOverwrite in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract <T extends Any> Unit add(Key<T> key, T value, Long timeout) Same as add in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract <T extends Any> Boolean exists(Key<T> key, Long timeout) Same as exists in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract <T extends Any> T fetch(Key<T> key, Long timeout) Same as fetch in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract <T extends Any> T erase(Key<T> key, Long timeout) Same as erase in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract Unit clear(Long timeout) Same as clear in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      abstract Unit merge(ApplicationContext other, ApplicationContextMergeStrategy mergeStrategy, Long timeout) Same as merge in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method
      • Methods inherited from class io.github.funofprograming.context.ApplicationContext

        add, addIfNotPresent, addWithOverwrite, clear, clone, erase, exists, fetch, getName, getPermittedKeys, isKeyValid, keySet, merge
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • addIfNotPresent

         abstract <T extends Any> Unit addIfNotPresent(Key<T> key, T value, Long timeout)

        Same as addIfNotPresent in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis </T>
      • addWithOverwrite

         abstract <T extends Any> Object addWithOverwrite(Key<T> key, T value, Long timeout)

        Same as addWithOverwrite in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis
        Returns:
        </T>
      • add

         abstract <T extends Any> Unit add(Key<T> key, T value, Long timeout)

        Same as add in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis </T>
      • exists

         abstract <T extends Any> Boolean exists(Key<T> key, Long timeout)

        Same as exists in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis
        Returns:
        </T>
      • fetch

         abstract <T extends Any> T fetch(Key<T> key, Long timeout)

        Same as fetch in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis
        Returns:
        </T>
      • erase

         abstract <T extends Any> T erase(Key<T> key, Long timeout)

        Same as erase in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis
        Returns:
        </T>
      • clear

         abstract Unit clear(Long timeout)

        Same as clear in ApplicationContext with additional timeout parameter for wait time in case of multiple threads blocking on this method

        Parameters:
        timeout - in millis