LimeWire Consolidated API

org.limewire.lifecycle
Annotation Type Asynchronous


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Asynchronous


Optional Element Summary
 boolean daemon
           
 int timeout
           
 

timeout

public abstract int timeout
Returns:
how long to wait for this asynchronous task to complete. Units are in seconds. Positive values indicate a timeout, negative values indicate no waiting is necessary.
Default:
-1

daemon

public abstract boolean daemon
Returns:
whether the asynchronous task should run as a daemon or not
Default:
true

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.