public enum GridDrSenderCacheMode extends Enum<GridDrSenderCacheMode>
| Enum Constant and Description |
|---|
DR_ASYNC
Asynchronous mode.
|
| Modifier and Type | Method and Description |
|---|---|
static GridDrSenderCacheMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridDrSenderCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridDrSenderCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridDrSenderCacheMode DR_ASYNC
When there are too many cache entries enqueued for data center replication, ongoing transaction may block in
case total amount of batches awaiting acknowledge is greater than
GridDrSenderCacheConfiguration.getMaxBatches().
public static GridDrSenderCacheMode[] values()
for (GridDrSenderCacheMode c : GridDrSenderCacheMode.values()) System.out.println(c);
public static GridDrSenderCacheMode 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 null@Nullable public static GridDrSenderCacheMode fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.Copyright © 2014. All rights reserved.