@Target(value=METHOD) @Retention(value=RUNTIME) public @interface InputTimeout
SecurityManager is installed, a security exception might
be raised based on the specific policy implemented.
Remember also that, in order for the annotation to properly work at run time, you will need to
add the following rules to your Proguard file (if employing it for shrinking or obfuscation):
-keepattributes RuntimeVisibleAnnotations
-keepclassmembers class ** {
@com.github.dm.jrt.annotation.InputTimeout *;
}
Created by davide-maestroni on 10/05/2015.InvocationConfiguration| Modifier and Type | Required Element and Description |
|---|---|
long |
value
The timeout for an input channel to have room for additional data.
|
public abstract long value
public abstract TimeUnit unit