[−]Struct jni_android_sys::java::util::concurrent::ForkJoinPool
public class ForkJoinPool
Required feature: java-util-concurrent-ForkJoinPool
Methods
impl ForkJoinPool
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, ForkJoinPool>>
[src]
pub fn new_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, ForkJoinPool>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, ForkJoinPool>>
pub fn new_int_fork_join_worker_thread_factory_uncaught_exception_handler_boolean<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ForkJoinPool_ForkJoinWorkerThreadFactory>>,
arg2: impl Into<Option<&'env Thread_UncaughtExceptionHandler>>,
arg3: bool
) -> Result<Local<'env, ForkJoinPool>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ForkJoinPool_ForkJoinWorkerThreadFactory>>,
arg2: impl Into<Option<&'env Thread_UncaughtExceptionHandler>>,
arg3: bool
) -> Result<Local<'env, ForkJoinPool>>
Required features: "java-lang-Thread_UncaughtExceptionHandler", "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory"
pub fn common_pool<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ForkJoinPool>>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ForkJoinPool>>>
Required features: "java-util-concurrent-ForkJoinPool"
pub fn invoke<'env>(
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-concurrent-ForkJoinTask"
pub fn execute_fork_join_task<'env>(
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<()>
Required features: "java-util-concurrent-ForkJoinTask"
pub fn execute_runnable<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<()>
Required features: "java-lang-Runnable"
pub fn submit_fork_join_task<'env>(
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
[src]
&'env self,
arg0: impl Into<Option<&'env ForkJoinTask>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
Required features: "java-util-concurrent-ForkJoinTask"
pub fn submit_callable<'env>(
&'env self,
arg0: impl Into<Option<&'env Callable>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Callable>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
Required features: "java-util-concurrent-Callable", "java-util-concurrent-ForkJoinTask"
pub fn submit_runnable_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
Required features: "java-lang-Object", "java-lang-Runnable", "java-util-concurrent-ForkJoinTask"
pub fn submit_runnable<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, ForkJoinTask>>>
Required features: "java-lang-Runnable", "java-util-concurrent-ForkJoinTask"
pub fn invoke_all<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, List>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-Collection", "java-util-List"
pub fn get_factory<'env>(
&'env self
) -> Result<Option<Local<'env, ForkJoinPool_ForkJoinWorkerThreadFactory>>>
[src]
&'env self
) -> Result<Option<Local<'env, ForkJoinPool_ForkJoinWorkerThreadFactory>>>
Required features: "java-util-concurrent-ForkJoinPool_ForkJoinWorkerThreadFactory"
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 get_parallelism<'env>(&'env self) -> Result<i32>
[src]
pub fn get_common_pool_parallelism<'env>(__jni_env: &'env Env) -> Result<i32>
[src]
pub fn get_pool_size<'env>(&'env self) -> Result<i32>
[src]
pub fn get_async_mode<'env>(&'env self) -> Result<bool>
[src]
pub fn get_running_thread_count<'env>(&'env self) -> Result<i32>
[src]
pub fn get_active_thread_count<'env>(&'env self) -> Result<i32>
[src]
pub fn is_quiescent<'env>(&'env self) -> Result<bool>
[src]
pub fn get_steal_count<'env>(&'env self) -> Result<i64>
[src]
pub fn get_queued_task_count<'env>(&'env self) -> Result<i64>
[src]
pub fn get_queued_submission_count<'env>(&'env self) -> Result<i32>
[src]
pub fn has_queued_submissions<'env>(&'env self) -> Result<bool>
[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn shutdown<'env>(&'env self) -> Result<()>
[src]
pub fn shutdown_now<'env>(&'env self) -> Result<Option<Local<'env, List>>>
[src]
Required features: "java-util-List"
pub fn is_terminated<'env>(&'env self) -> Result<bool>
[src]
pub fn is_terminating<'env>(&'env self) -> Result<bool>
[src]
pub fn is_shutdown<'env>(&'env self) -> Result<bool>
[src]
pub fn await_termination<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<bool>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<bool>
Required features: "java-util-concurrent-TimeUnit"
pub fn await_quiescence<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<bool>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TimeUnit>>
) -> Result<bool>
Required features: "java-util-concurrent-TimeUnit"
pub fn managed_block<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ForkJoinPool_ManagedBlocker>>
) -> Result<()>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ForkJoinPool_ManagedBlocker>>
) -> Result<()>
Required features: "java-util-concurrent-ForkJoinPool_ManagedBlocker"
Methods from Deref<Target = AbstractExecutorService>
pub fn submit_runnable<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, Future>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<Option<Local<'env, Future>>>
Required features: "java-lang-Runnable", "java-util-concurrent-Future"
pub fn submit_runnable_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Future>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Future>>>
Required features: "java-lang-Object", "java-lang-Runnable", "java-util-concurrent-Future"
pub fn submit_callable<'env>(
&'env self,
arg0: impl Into<Option<&'env Callable>>
) -> Result<Option<Local<'env, Future>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Callable>>
) -> Result<Option<Local<'env, Future>>>
Required features: "java-util-concurrent-Callable", "java-util-concurrent-Future"
pub fn invoke_any_collection<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-Collection"
pub fn invoke_any_collection_long_time_unit<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i64,
arg2: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i64,
arg2: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-Collection", "java-util-concurrent-TimeUnit"
pub fn invoke_all_collection<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, List>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-Collection", "java-util-List"
pub fn invoke_all_collection_long_time_unit<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i64,
arg2: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, List>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>,
arg1: i64,
arg2: impl Into<Option<&'env TimeUnit>>
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-Collection", "java-util-List", "java-util-concurrent-TimeUnit"
Trait Implementations
impl Deref for ForkJoinPool
type Target = AbstractExecutorService
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl AsValidJObjectAndEnv for ForkJoinPool
impl AsJValue for ForkJoinPool
Auto Trait Implementations
impl !Sync for ForkJoinPool
impl !Send for ForkJoinPool
impl Unpin for ForkJoinPool
impl RefUnwindSafe for ForkJoinPool
impl UnwindSafe for ForkJoinPool
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,