public static enum ResourceSemaphore.ResourceAcquireStatus extends Enum<ResourceSemaphore.ResourceAcquireStatus>
ResourceSemaphores.| Enum Constant and Description |
|---|
FAILED_IN_BYTE_SIZE_LIMIT |
FAILED_IN_ELEMENT_LIMIT |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static ResourceSemaphore.ResourceAcquireStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceSemaphore.ResourceAcquireStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceSemaphore.ResourceAcquireStatus SUCCESS
public static final ResourceSemaphore.ResourceAcquireStatus FAILED_IN_ELEMENT_LIMIT
public static final ResourceSemaphore.ResourceAcquireStatus FAILED_IN_BYTE_SIZE_LIMIT
public static ResourceSemaphore.ResourceAcquireStatus[] values()
for (ResourceSemaphore.ResourceAcquireStatus c : ResourceSemaphore.ResourceAcquireStatus.values()) System.out.println(c);
public static ResourceSemaphore.ResourceAcquireStatus 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 nullCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.