[−]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>>
[src]
pub fn get_raw_result<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
Methods from Deref<Target = ForkJoinTask>
pub fn fork<'env>(&'env self) -> Result<Option<Local<'env, ForkJoinTask>>>
[src]
Required features: "java-util-concurrent-ForkJoinTask"
pub fn join<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
pub fn invoke<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
pub fn cancel<'env>(&'env self, arg0: bool) -> Result<bool>
[src]
pub fn is_done<'env>(&'env self) -> Result<bool>
[src]
pub fn is_cancelled<'env>(&'env self) -> Result<bool>
[src]
pub fn is_completed_abnormally<'env>(&'env self) -> Result<bool>
[src]
pub fn is_completed_normally<'env>(&'env self) -> Result<bool>
[src]
pub fn get_exception<'env>(&'env self) -> Result<Option<Local<'env, Throwable>>>
[src]
Required features: "java-lang-Throwable"
pub fn complete_exceptionally<'env>(
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<()>
Required features: "java-lang-Throwable"
pub fn complete<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
Required features: "java-lang-Object"
pub fn quietly_complete<'env>(&'env self) -> Result<()>
[src]
pub fn get<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
pub fn get_long_time_unit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-concurrent-TimeUnit"
pub fn quietly_join<'env>(&'env self) -> Result<()>
[src]
pub fn quietly_invoke<'env>(&'env self) -> Result<()>
[src]
pub fn reinitialize<'env>(&'env self) -> Result<()>
[src]
pub fn try_unfork<'env>(&'env self) -> Result<bool>
[src]
pub fn get_raw_result<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
pub fn get_fork_join_task_tag<'env>(&'env self) -> Result<i16>
[src]
pub fn set_fork_join_task_tag<'env>(&'env self, arg0: i16) -> Result<i16>
[src]
pub fn compare_and_set_fork_join_task_tag<'env>(
&'env self,
arg0: i16,
arg1: i16
) -> Result<bool>
[src]
&'env self,
arg0: i16,
arg1: i16
) -> Result<bool>
Trait Implementations
impl Deref for RecursiveTask
impl AsValidJObjectAndEnv for RecursiveTask
impl AsJValue for RecursiveTask
Auto Trait Implementations
impl !Sync for RecursiveTask
impl !Send for RecursiveTask
impl Unpin for RecursiveTask
impl RefUnwindSafe for RecursiveTask
impl UnwindSafe for RecursiveTask
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,