mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
move prefetch allocation to be a NodeAllocation
This commit is contained in:
parent
edbd586ee5
commit
1461da5b49
15 changed files with 62 additions and 87 deletions
|
@ -19,13 +19,13 @@
|
|||
|
||||
package org.elasticsearch.gateway.hdfs;
|
||||
|
||||
import org.elasticsearch.common.inject.AbstractModule;
|
||||
import org.elasticsearch.gateway.Gateway;
|
||||
import org.elasticsearch.gateway.blobstore.BlobStoreGatewayModule;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
||||
*/
|
||||
public class HdfsGatewayModule extends AbstractModule {
|
||||
public class HdfsGatewayModule extends BlobStoreGatewayModule {
|
||||
|
||||
@Override protected void configure() {
|
||||
bind(Gateway.class).to(HdfsGateway.class).asEagerSingleton();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue