voldemort.store.readonly
Interface FileFetcher

All Known Implementing Classes:
RestHadoopFetcher

public interface FileFetcher

An interface to fetch data for readonly store. The fetch could be via rsync or hdfs. If the store is already on the local filesystem then no fetcher is needed. All implementations must provide a public constructor that takes VoldemortConfig as a parameter.


Method Summary
 java.io.File fetch(java.lang.String source, java.lang.String dest)
           
 void setAsyncOperationStatus(AsyncOperationStatus status)
           
 

Method Detail

fetch

java.io.File fetch(java.lang.String source,
                   java.lang.String dest)
                   throws java.io.IOException
Throws:
java.io.IOException

setAsyncOperationStatus

void setAsyncOperationStatus(AsyncOperationStatus status)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu