org.elasticsearch.gateway.blobstore
Class BlobReuseExistingNodeAllocation

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.cluster.routing.allocation.NodeAllocation
          extended by org.elasticsearch.gateway.blobstore.BlobReuseExistingNodeAllocation

public class BlobReuseExistingNodeAllocation
extends NodeAllocation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.cluster.routing.allocation.NodeAllocation
NodeAllocation.Decision
 
Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
BlobReuseExistingNodeAllocation(Settings settings, Node node, TransportNodesListShardStoreMetaData transportNodesListShardStoreMetaData)
           
 
Method Summary
 boolean allocateUnassigned(NodeAllocations nodeAllocations, RoutingAllocation allocation)
           
 void applyFailedShards(NodeAllocations nodeAllocations, FailedRerouteAllocation allocation)
           
 void applyStartedShards(NodeAllocations nodeAllocations, StartedRerouteAllocation allocation)
           
 
Methods inherited from class org.elasticsearch.cluster.routing.allocation.NodeAllocation
canAllocate, canRebalance
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobReuseExistingNodeAllocation

@Inject
public BlobReuseExistingNodeAllocation(Settings settings,
                                              Node node,
                                              TransportNodesListShardStoreMetaData transportNodesListShardStoreMetaData)
Method Detail

applyStartedShards

public void applyStartedShards(NodeAllocations nodeAllocations,
                               StartedRerouteAllocation allocation)
Overrides:
applyStartedShards in class NodeAllocation

applyFailedShards

public void applyFailedShards(NodeAllocations nodeAllocations,
                              FailedRerouteAllocation allocation)
Overrides:
applyFailedShards in class NodeAllocation

allocateUnassigned

public boolean allocateUnassigned(NodeAllocations nodeAllocations,
                                  RoutingAllocation allocation)
Overrides:
allocateUnassigned in class NodeAllocation