com.netflix.astyanax.util
Class Callables

java.lang.Object
  extended by com.netflix.astyanax.util.Callables

public class Callables
extends java.lang.Object


Constructor Summary
Callables()
           
 
Method Summary
static
<T> java.util.concurrent.Callable<T>
decorateWithBarrier(java.util.concurrent.CyclicBarrier barrier, java.util.concurrent.Callable<T> callable)
          Create a callable that waits on a barrier before starting execution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Callables

public Callables()
Method Detail

decorateWithBarrier

public static <T> java.util.concurrent.Callable<T> decorateWithBarrier(java.util.concurrent.CyclicBarrier barrier,
                                                                       java.util.concurrent.Callable<T> callable)
Create a callable that waits on a barrier before starting execution

Parameters:
barrier -
callable -
Returns: