public enum RebalanceType extends Enum<RebalanceType>
Enum Constant and Description |
---|
FOUR_PHASE
Used by distributed and replicated caches.
|
NONE
Used by local and invalidation cache modes.
|
TWO_PHASE
Used by scattered cache.
|
Modifier and Type | Method and Description |
---|---|
static RebalanceType |
from(CacheMode cacheMode) |
static RebalanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RebalanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RebalanceType NONE
public static final RebalanceType FOUR_PHASE
public static final RebalanceType TWO_PHASE
ScatteredVersionManager
.
State transfer consists of two changes:
STABLE → TRANSITORY → STABLEpublic static RebalanceType[] values()
for (RebalanceType c : RebalanceType.values()) System.out.println(c);
public static RebalanceType 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 static RebalanceType from(CacheMode cacheMode)
Copyright © 2021 JBoss by Red Hat. All rights reserved.