org.elasticsearch.common.blobstore.hdfs
Class HdfsBlobStore

java.lang.Object
  extended by org.elasticsearch.common.blobstore.hdfs.HdfsBlobStore
All Implemented Interfaces:
org.elasticsearch.common.blobstore.BlobStore

public class HdfsBlobStore
extends java.lang.Object
implements org.elasticsearch.common.blobstore.BlobStore


Constructor Summary
HdfsBlobStore(org.elasticsearch.common.settings.Settings settings, org.apache.hadoop.fs.FileSystem fileSystem, java.util.concurrent.Executor executor, org.apache.hadoop.fs.Path path)
           
 
Method Summary
 int bufferSizeInBytes()
           
 void close()
           
 void delete(org.elasticsearch.common.blobstore.BlobPath path)
           
 java.util.concurrent.Executor executor()
           
 org.apache.hadoop.fs.FileSystem fileSystem()
           
 org.elasticsearch.common.blobstore.ImmutableBlobContainer immutableBlobContainer(org.elasticsearch.common.blobstore.BlobPath path)
           
 org.apache.hadoop.fs.Path path()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HdfsBlobStore

public HdfsBlobStore(org.elasticsearch.common.settings.Settings settings,
                     org.apache.hadoop.fs.FileSystem fileSystem,
                     java.util.concurrent.Executor executor,
                     org.apache.hadoop.fs.Path path)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

bufferSizeInBytes

public int bufferSizeInBytes()

fileSystem

public org.apache.hadoop.fs.FileSystem fileSystem()

path

public org.apache.hadoop.fs.Path path()

executor

public java.util.concurrent.Executor executor()

immutableBlobContainer

public org.elasticsearch.common.blobstore.ImmutableBlobContainer immutableBlobContainer(org.elasticsearch.common.blobstore.BlobPath path)
Specified by:
immutableBlobContainer in interface org.elasticsearch.common.blobstore.BlobStore

delete

public void delete(org.elasticsearch.common.blobstore.BlobPath path)
Specified by:
delete in interface org.elasticsearch.common.blobstore.BlobStore

close

public void close()
Specified by:
close in interface org.elasticsearch.common.blobstore.BlobStore