move prefetch allocation to be a NodeAllocation

This commit is contained in:
kimchy 2010-08-23 17:22:44 +03:00
parent edbd586ee5
commit 1461da5b49
15 changed files with 62 additions and 87 deletions

View file

@ -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();