[−]Struct jni_android_sys::java::util::concurrent::locks::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]
&'env self,
arg0: i32,
arg1: i64
) -> Result<bool>
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]
&'env self
) -> Result<Option<Local<'env, Thread>>>
Required features: "java-lang-Thread"
pub fn is_queued<'env>(
&'env self,
arg0: impl Into<Option<&'env Thread>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Thread>>
) -> Result<bool>
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]
&'env self
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection"
pub fn get_exclusive_queued_threads<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>>
[src]
&'env self
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection"
pub fn get_shared_queued_threads<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>>
[src]
&'env self
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn owns<'env>(
&'env self,
arg0: impl Into<Option<&'env AbstractQueuedSynchronizer_ConditionObject>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env AbstractQueuedSynchronizer_ConditionObject>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env AbstractQueuedSynchronizer_ConditionObject>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env AbstractQueuedSynchronizer_ConditionObject>>
) -> Result<i32>
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]
&'env self,
arg0: impl Into<Option<&'env AbstractQueuedSynchronizer_ConditionObject>>
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection", "java-util-concurrent-locks-AbstractQueuedSynchronizer_ConditionObject"
Trait Implementations
impl AsRef<Serializable> for AbstractQueuedSynchronizer
fn as_ref(&self) -> &Serializable
impl Deref for AbstractQueuedSynchronizer
type Target = AbstractOwnableSynchronizer
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl AsValidJObjectAndEnv for AbstractQueuedSynchronizer
impl AsJValue for AbstractQueuedSynchronizer
Auto Trait Implementations
impl !Sync for AbstractQueuedSynchronizer
impl !Send for AbstractQueuedSynchronizer
impl Unpin for AbstractQueuedSynchronizer
impl RefUnwindSafe for AbstractQueuedSynchronizer
impl UnwindSafe for AbstractQueuedSynchronizer
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,