public static class ThrottledFileSystem.Factory<S extends ScopeType<S>> extends FileSystemInstrumentationFactory<S>
ThrottledFileSystem.| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.FileSystem |
instrumentFileSystem(org.apache.hadoop.fs.FileSystem fs,
SharedResourcesBroker<S> broker,
ConfigView<S,FileSystemKey> config)
Return an instrumented version of the input
FileSystem. |
public org.apache.hadoop.fs.FileSystem instrumentFileSystem(org.apache.hadoop.fs.FileSystem fs,
SharedResourcesBroker<S> broker,
ConfigView<S,FileSystemKey> config)
FileSystemInstrumentationFactoryFileSystem. Generally, this will return a decorator for the
input FileSystem. If the instrumentation will be a no-op (due to, for example, configuration), it is
recommended to return the input FileSystem directly for performance.instrumentFileSystem in class FileSystemInstrumentationFactory<S extends ScopeType<S>>