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

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

public class ForkJoinWorkerThread

Required feature: java-util-concurrent-ForkJoinWorkerThread

Methods

impl ForkJoinWorkerThread

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

getPool

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

pub fn get_pool_index<'env>(&'env self) -> Result<i32>[src]

pub fn run<'env>(&'env self) -> Result<()>[src]

Methods from Deref<Target = Thread>

pub fn start<'env>(&'env self) -> Result<()>[src]

pub fn run<'env>(&'env self) -> Result<()>[src]

pub fn stop<'env>(&'env self) -> Result<()>[src]

Deprecated

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

Deprecated

stop

Required features: "java-lang-Throwable"

pub fn interrupt<'env>(&'env self) -> Result<()>[src]

pub fn is_interrupted<'env>(&'env self) -> Result<bool>[src]

pub fn destroy<'env>(&'env self) -> Result<()>[src]

Deprecated

pub fn is_alive<'env>(&'env self) -> Result<bool>[src]

pub fn suspend<'env>(&'env self) -> Result<()>[src]

Deprecated

pub fn resume<'env>(&'env self) -> Result<()>[src]

Deprecated

pub fn set_priority<'env>(&'env self, arg0: i32) -> Result<()>[src]

pub fn get_priority<'env>(&'env self) -> Result<i32>[src]

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

setName

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

getThreadGroup

Required features: "java-lang-ThreadGroup"

pub fn count_stack_frames<'env>(&'env self) -> Result<i32>[src]

Deprecated

pub fn join_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn join_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]

pub fn join<'env>(&'env self) -> Result<()>[src]

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

pub fn is_daemon<'env>(&'env self) -> Result<bool>[src]

pub fn check_access<'env>(&'env self) -> Result<()>[src]

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

toString

Required features: "java-lang-String"

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

getContextClassLoader

Required features: "java-lang-ClassLoader"

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

setContextClassLoader

Required features: "java-lang-ClassLoader"

pub fn get_id<'env>(&'env self) -> Result<i64>[src]

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

getState

Required features: "java-lang-Thread_State"

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

getUncaughtExceptionHandler

Required features: "java-lang-Thread_UncaughtExceptionHandler"

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

setUncaughtExceptionHandler

Required features: "java-lang-Thread_UncaughtExceptionHandler"

pub const MAX_PRIORITY: i32[src]

pub const MIN_PRIORITY: i32[src]

pub const NORM_PRIORITY: i32[src]

Trait Implementations

impl Deref for ForkJoinWorkerThread

type Target = Thread

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for ForkJoinWorkerThread

impl AsJValue for ForkJoinWorkerThread

Auto Trait Implementations

Blanket Implementations

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.

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

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

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