public enum DescribeSemaphoreMode extends Enum<DescribeSemaphoreMode>
| Enum Constant and Description |
|---|
DATA_ONLY
Describe only semaphore's data (name, user-defined data and others)
|
WITH_OWNERS
Include owners list to describe result
|
WITH_OWNERS_AND_WAITERS
Include waiters and owners lists to describe result
|
WITH_WAITERS
Include waiters list to describe result
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
includeOwners() |
boolean |
includeWaiters() |
static DescribeSemaphoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescribeSemaphoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescribeSemaphoreMode DATA_ONLY
public static final DescribeSemaphoreMode WITH_OWNERS
public static final DescribeSemaphoreMode WITH_WAITERS
public static final DescribeSemaphoreMode WITH_OWNERS_AND_WAITERS
public static DescribeSemaphoreMode[] values()
for (DescribeSemaphoreMode c : DescribeSemaphoreMode.values()) System.out.println(c);
public static DescribeSemaphoreMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean includeOwners()
public boolean includeWaiters()
Copyright © 2025. All rights reserved.