вторник, 27 июля 2010 г.

CustomConcurrentHashMap - A framework for concurrent hash map implementations.

com.google.inject.internal.CustomConcurrentHashMap:
"A framework for concurrent hash map implementations."
"Retrieval operations (including java.util.Map.get(java.lang.Object)) generally do not block, so may overlap with update operations (including java.util.Map.put(java.lang.Object, java.lang.Object) and java.util.Map.remove(java.lang.Object))."
"Retrievals reflect the results of the most recently completed update operations holding upon their onset."
"For example, the following strategy emulates the behavior of java.util.concurrent.ConcurrentHashMap: ..."

1 комментарий:

  1. Прикольная ссылка, про lock-free сортированный массив, который поддерживает одновременную запись в один поток и чтение в несколько потоков.

    http://www.tbray.org/ongoing/When/201x/2010/07/13/Lock-Free-Array-Update

    ОтветитьУдалить