public class LoadBalancedLists extends Object
| Constructor and Description |
|---|
LoadBalancedLists() |
| Modifier and Type | Method and Description |
|---|---|
static <E> LoadBalancedList<E> |
synchronizedList(LoadBalancedList<E> list)
Creates a synchronized version of a LoadBalancedList by putting a lock
around any method that reads or writes to the internal data structure.
|
public static <E> LoadBalancedList<E> synchronizedList(LoadBalancedList<E> list)
list - The list to synchronizeCopyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.