[]Struct jni_android_sys::java::util::concurrent::locks::AbstractQueuedSynchronizer

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

public class AbstractQueuedSynchronizer

Required feature: java-util-concurrent-locks-AbstractQueuedSynchronizer

Methods

impl AbstractQueuedSynchronizer

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

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

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

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

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

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

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

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

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

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

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

getFirstQueuedThread

Required features: "java-lang-Thread"

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

isQueued

Required features: "java-lang-Thread"

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

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

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

getQueuedThreads

Required features: "java-util-Collection"

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

getExclusiveQueuedThreads

Required features: "java-util-Collection"

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

getSharedQueuedThreads

Required features: "java-util-Collection"

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

toString

Required features: "java-lang-String"

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

owns

Required features: "java-util-concurrent-locks-AbstractQueuedSynchronizer_ConditionObject"

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

hasWaiters

Required features: "java-util-concurrent-locks-AbstractQueuedSynchronizer_ConditionObject"

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

getWaitQueueLength

Required features: "java-util-concurrent-locks-AbstractQueuedSynchronizer_ConditionObject"

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

getWaitingThreads

Required features: "java-util-Collection", "java-util-concurrent-locks-AbstractQueuedSynchronizer_ConditionObject"

Trait Implementations

impl AsRef<Serializable> for AbstractQueuedSynchronizer

impl Deref for AbstractQueuedSynchronizer

type Target = AbstractOwnableSynchronizer

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for AbstractQueuedSynchronizer

impl AsJValue for AbstractQueuedSynchronizer

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]