Package org.apache.wicket.util.concurrent

Contains the classes for concurrency support.

See:
          Description

Class Summary
ConcurrentHashMap A version of Hashtable supporting concurrency for both retrievals and updates: Retrievals Retrievals may overlap updates.
ConcurrentHashMap.Entry ConcurrentHashMap collision list entry.
ConcurrentHashMap.Segment Bookkeeping for each concurrency control segment.
ConcurrentReaderHashMap A version of Hashtable that supports mostly-concurrent reading, but exclusive writing.
ConcurrentReaderHashMap.BarrierLock A Serializable class for barrier lock *
ConcurrentReaderHashMap.Entry ConcurrentReaderHashMap collision list entry.
CopyOnWriteArrayList This class implements a variant of java.util.ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.
CopyOnWriteArrayList.COWIterator  
CopyOnWriteArrayList.COWSubList  
 

Package org.apache.wicket.util.concurrent Description

Contains the classes for concurrency support.

This package provides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming. This code consists of implementations of ideas that have been around for ages, and is merely intended to save you the trouble of coding them. Discussions of the rationale and applications of several of these classes can be found in the second edition of Concurrent Programming in Java. There are also pdf slides providing an overview of the package.

These classes were taken from concurrent.jar, version 1.3.4, provided by Doug Lea. Java 1.5 and later have these collections built in.



Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.