org.jclouds.concurrent
Annotation Type Timeout


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Timeout

This class or method has a timeout used for synchronous calls.

Author:
Adrian Cole
See Also:
TimeUnit, Future.get(long,TimeUnit)

Required Element Summary
 long duration
           
 TimeUnit timeUnit
           
 

Element Detail

duration

public abstract long duration

timeUnit

public abstract TimeUnit timeUnit


Copyright © 2009-2011 jclouds. All Rights Reserved.