[−]Struct jni_android_sys::java::util::concurrent::RecursiveTask
public class RecursiveTask
Required feature: "java-util-concurrent-RecursiveTask"
Methods
impl RecursiveTask
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, RecursiveTask>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, RecursiveTask>, Local<'env, Throwable>>
pub fn getRawResult<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
Methods from Deref<Target = ForkJoinTask>
pub fn fork<'env>(
&'env self
) -> Result<Option<Local<'env, ForkJoinTask>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ForkJoinTask>>, Local<'env, Throwable>>
Required features: "java-util-concurrent-ForkJoinTask"
pub fn join<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn invoke<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn cancel<'env>(
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
pub fn isDone<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isCancelled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isCompletedAbnormally<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isCompletedNormally<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getException<'env>(
&'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn completeExceptionally<'env>(
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn complete<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn quietlyComplete<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn get<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn get_long_TimeUnit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-util-concurrent-TimeUnit"
pub fn quietlyJoin<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn quietlyInvoke<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn reinitialize<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn tryUnfork<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getRawResult<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getForkJoinTaskTag<'env>(
&'env self
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i16, Local<'env, Throwable>>
pub fn setForkJoinTaskTag<'env>(
&'env self,
arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<i16, Local<'env, Throwable>>
pub fn compareAndSetForkJoinTaskTag<'env>(
&'env self,
arg0: i16,
arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16,
arg1: i16
) -> Result<bool, Local<'env, Throwable>>
Trait Implementations
impl AsJValue for RecursiveTask
impl AsValidJObjectAndEnv for RecursiveTask
impl Deref for RecursiveTask
impl JniType for RecursiveTask
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RecursiveTask
impl !Send for RecursiveTask
impl !Sync for RecursiveTask
impl Unpin for RecursiveTask
impl UnwindSafe for RecursiveTask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,