public enum WatchSemaphoreMode extends Enum<WatchSemaphoreMode>
| Enum Constant and Description |
|---|
WATCH_DATA
Watch for changes in semaphore data
|
WATCH_DATA_AND_OWNERS
Watch for changes in semaphore data or owners
|
WATCH_OWNERS
Watch for changes in semaphore owners
|
| Modifier and Type | Method and Description |
|---|---|
static WatchSemaphoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchSemaphoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
watchData() |
boolean |
watchOwners() |
public static final WatchSemaphoreMode WATCH_DATA
public static final WatchSemaphoreMode WATCH_OWNERS
public static final WatchSemaphoreMode WATCH_DATA_AND_OWNERS
public static WatchSemaphoreMode[] values()
for (WatchSemaphoreMode c : WatchSemaphoreMode.values()) System.out.println(c);
public static WatchSemaphoreMode 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 watchData()
public boolean watchOwners()
Copyright © 2025. All rights reserved.