[]Struct jni_android_sys::java::util::concurrent::RecursiveAction

#[repr(transparent)]
pub struct RecursiveAction(_);

public class RecursiveAction

Required feature: "java-util-concurrent-RecursiveAction"

Methods

impl RecursiveAction

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, RecursiveAction>, Local<'env, Throwable>>
[src]

pub fn getRawResult<'env>(
    &'env self
) -> Result<Option<Local<'env, Void>>, Local<'env, Throwable>>
[src]

getRawResult

Required features: "java-lang-Void"

Methods from Deref<Target = ForkJoinTask>

pub fn fork<'env>(
    &'env self
) -> Result<Option<Local<'env, ForkJoinTask>>, Local<'env, Throwable>>
[src]

fork

Required features: "java-util-concurrent-ForkJoinTask"

pub fn join<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

join

Required features: "java-lang-Object"

pub fn invoke<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

invoke

Required features: "java-lang-Object"

pub fn cancel<'env>(
    &'env self,
    arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

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]

pub fn isCompletedNormally<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getException<'env>(
    &'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]

getException

Required features: "java-lang-Throwable"

pub fn completeExceptionally<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]

completeExceptionally

Required features: "java-lang-Throwable"

pub fn complete<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

complete

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]

get

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]

get

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]

getRawResult

Required features: "java-lang-Object"

pub fn getForkJoinTaskTag<'env>(
    &'env self
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn setForkJoinTaskTag<'env>(
    &'env self,
    arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn compareAndSetForkJoinTaskTag<'env>(
    &'env self,
    arg0: i16,
    arg1: i16
) -> Result<bool, Local<'env, Throwable>>
[src]

Trait Implementations

impl AsJValue for RecursiveAction

impl AsValidJObjectAndEnv for RecursiveAction

impl Deref for RecursiveAction

type Target = ForkJoinTask

The resulting type after dereferencing.

impl JniType for RecursiveAction

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.