core/src/main/java/org/elasticsearch/indices/IndicesService.java
public void addPendingDelete(ShardId shardId, IndexSettings settings) {
        if (shardId == null) {
            throw new IllegalArgumentException("shardId must not be null");
        }
        if (settings == null) {
            throw new IllegalArgumentException("settings must not be null");
        }
        PendingDelete pendingDelete = new PendingDelete(shardId, settings);
        addPendingDelete(shardId.getIndex(), pendingDelete);
    }
/**
     * Adds a pending delete for the given index shard.
     */
Adds a pending delete for the given index shard.
Adds a pending delete for the given index shard .
public void addPendingDelete(ShardId shardId, IndexSettings settings) {
        if (shardId == null) {
            throw new IllegalArgumentException("shardId must not be null");
        }
        if (settings == null) {
            throw new IllegalArgumentException("settings must not be null");
        }
        PendingDelete pendingDelete = new PendingDelete(shardId, settings);
        addPendingDelete(shardId.getIndex(), pendingDelete);
    }
public void addPendingDelete ( ShardId shardId , IndexSettings settings ) { if ( shardId == null ) { throw new IllegalArgumentException ( "shardId must not be null" ) ; } if ( settings == null ) { throw new IllegalArgumentException ( "settings must not be null" ) ; } PendingDelete pendingDelete = new PendingDelete ( shardId , settings ) ; addPendingDelete ( shardId . getIndex ( ) , pendingDelete ) ; }
Adds a pending delete for the given index shard.
Adds a pending delete for the given index shard .