[−]Struct jni_android_sys::java::util::concurrent::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]
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]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<()>
Deprecated
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn get_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn get_thread_group<'env>(
&'env self
) -> Result<Option<Local<'env, ThreadGroup>>>
[src]
&'env self
) -> Result<Option<Local<'env, ThreadGroup>>>
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]
Required features: "java-lang-String"
pub fn get_context_class_loader<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>
[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>>
Required features: "java-lang-ClassLoader"
pub fn set_context_class_loader<'env>(
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ClassLoader>>
) -> Result<()>
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]
Required features: "java-lang-Thread_State"
pub fn get_uncaught_exception_handler<'env>(
&'env self
) -> Result<Option<Local<'env, Thread_UncaughtExceptionHandler>>>
[src]
&'env self
) -> Result<Option<Local<'env, Thread_UncaughtExceptionHandler>>>
Required features: "java-lang-Thread_UncaughtExceptionHandler"
pub fn set_uncaught_exception_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Thread_UncaughtExceptionHandler>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Thread_UncaughtExceptionHandler>>
) -> Result<()>
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
impl AsValidJObjectAndEnv for ForkJoinWorkerThread
impl AsJValue for ForkJoinWorkerThread
Auto Trait Implementations
impl !Sync for ForkJoinWorkerThread
impl !Send for ForkJoinWorkerThread
impl Unpin for ForkJoinWorkerThread
impl RefUnwindSafe for ForkJoinWorkerThread
impl UnwindSafe for ForkJoinWorkerThread
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,