public enum InteractionMode extends java.lang.Enum<InteractionMode>
Enum Constant and Description |
---|
ASYNC_POLLING
the PGX client polls the status of the future until it's completed
|
BLOCKING
the PGX client sends a request to directly get the value of the future
and the server would block until the future result is ready
|
Modifier and Type | Method and Description |
---|---|
static InteractionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InteractionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionMode ASYNC_POLLING
public static final InteractionMode BLOCKING
public static InteractionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static InteractionMode[] values()
for (InteractionMode c : InteractionMode.values()) System.out.println(c);
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.