com.androidplot.util
Class MultiSynch
java.lang.Object
com.androidplot.util.MultiSynch
public abstract class MultiSynch
- extends Object
Utility class for obtaining synch lock across multiple objects.
Nested Class Summary |
static interface |
MultiSynch.Action
Callback class for doing work from within a MultiSynch. |
MultiSynch
public MultiSynch()
run
public static void run(Object[] params,
Set synchSet,
MultiSynch.Action action)
- Parameters:
params
- synchSet
- Set of objects to be synchronized uponaction
- Action to be invoked once full synchronization has been obtained.
run
public static void run(Object[] params,
List synchList,
MultiSynch.Action action)
- Parameters:
params
- synchList
- List of objects to be synchronized uponaction
- Action to be invoked once full synchronization has been obtained.
run
public static void run(Object[] params,
Object[] synchArr,
MultiSynch.Action action)
- Parameters:
params
- synchArr
- Array of objects to be synchronized uponaction
- Action to be invoked once full synchronization has been obtained.
Copyright © 2010-2013 androidplot.com. All Rights Reserved.