Package | Description |
---|---|
org.elasticsearch.cluster.routing |
Modifier and Type | Method and Description |
---|---|
AllocationId |
ShardRouting.allocationId()
An id that uniquely identifies an allocation.
|
static AllocationId |
AllocationId.cancelRelocation(AllocationId allocationId)
Creates a new allocation id representing a cancelled relocation.
|
static AllocationId |
AllocationId.finishRelocation(AllocationId allocationId)
Creates a new allocation id finalizing a relocation.
|
static AllocationId |
AllocationId.newInitializing()
Creates a new allocation id for initializing allocation.
|
static AllocationId |
AllocationId.newRelocation(AllocationId allocationId)
Creates a new allocation id for a shard that moves to be relocated, populating
the transient holder for relocationId.
|
static AllocationId |
AllocationId.newTargetRelocation(AllocationId allocationId)
Creates a new allocation id for the target initializing shard that is the result
of a relocation.
|
Modifier and Type | Method and Description |
---|---|
static AllocationId |
AllocationId.cancelRelocation(AllocationId allocationId)
Creates a new allocation id representing a cancelled relocation.
|
static AllocationId |
AllocationId.finishRelocation(AllocationId allocationId)
Creates a new allocation id finalizing a relocation.
|
static AllocationId |
AllocationId.newRelocation(AllocationId allocationId)
Creates a new allocation id for a shard that moves to be relocated, populating
the transient holder for relocationId.
|
static AllocationId |
AllocationId.newTargetRelocation(AllocationId allocationId)
Creates a new allocation id for the target initializing shard that is the result
of a relocation.
|
Copyright © 2009–2016. All rights reserved.