| 修飾子とタイプ | インタフェースと説明 |
|---|---|
interface |
TimeoutClusterStateListener
An exception to cluster state listener that allows for timeouts and for post added notifications.
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
InternalClusterInfoService
InternalClusterInfoService provides the ClusterInfoService interface,
routinely updated on a timer.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
ClusterService.add(ClusterStateListener listener)
Adds a listener for updated cluster states.
|
void |
ClusterService.addFirst(ClusterStateListener listener)
Adds a priority listener for updated cluster states.
|
void |
ClusterService.addLast(ClusterStateListener listener)
Adds last listener.
|
void |
ClusterService.remove(ClusterStateListener listener)
Removes a listener for updated cluster states.
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
MetaDataUpdateSettingsService
Service responsible for submitting update index settings requests
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
RoutingService
A
RoutingService listens to clusters state. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
InternalClusterService.add(ClusterStateListener listener) |
void |
InternalClusterService.addFirst(ClusterStateListener listener) |
void |
InternalClusterService.addLast(ClusterStateListener listener) |
void |
InternalClusterService.remove(ClusterStateListener listener) |
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
Gateway |
class |
GatewayMetaState |
class |
GatewayService |
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
IndicesClusterStateService |
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
IndicesStore |
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
NodeSettingsService
A service that allows to register for node settings change that can come from cluster
events holding new settings.
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
RepositoriesService
Service responsible for maintaining and providing access to snapshot repositories on nodes.
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
RestoreService
Service responsible for restoring snapshots
Restore operation is performed in several stages.
|
class |
SnapshotShardsService
This service runs on data and master nodes and controls currently snapshotted shards on these nodes.
|
class |
SnapshotsService
Service responsible for creating snapshots
A typical snapshot creating process looks like this:
On the master node the
SnapshotsService.createSnapshot(SnapshotRequest, CreateSnapshotListener) is called and makes sure that no snapshots is currently running
and registers the new snapshot in cluster state
When cluster state is updated the SnapshotsService.beginSnapshot(ClusterState, SnapshotsInProgress.Entry, boolean, CreateSnapshotListener) method
kicks in and initializes the snapshot in the repository and then populates list of shards that needs to be snapshotted in cluster state
Each data node is watching for these shards and when new shards scheduled for snapshotting appear in the cluster state, data nodes
start processing them through SnapshotShardsService.processIndexShardSnapshots(ClusterChangedEvent) method
Once shard snapshot is created data node updates state of the shard in the cluster state using the SnapshotShardsService.updateIndexShardSnapshotStatus(org.elasticsearch.cluster.metadata.SnapshotId, org.elasticsearch.index.shard.ShardId, org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus) method
When last shard is completed master node in SnapshotShardsService.innerUpdateSnapshotState(org.elasticsearch.snapshots.SnapshotShardsService.UpdateIndexShardSnapshotStatusRequest) method marks the snapshot as completed
After cluster state is updated, the SnapshotsService.endSnapshot(SnapshotsInProgress.Entry) finalizes snapshot in the repository,
notifies all SnapshotsService.snapshotCompletionListeners that snapshot is completed, and finally calls SnapshotsService.removeSnapshotFromClusterState(SnapshotId, SnapshotInfo, Throwable) to remove snapshot from cluster state
|
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
TaskManager
Task Manager service for keeping track of currently running tasks on the nodes
|
Copyright © 2009–2016. All rights reserved.