public static final class GetSpaceUsed.Builder extends Object
Constructor and Description |
---|
GetSpaceUsed.Builder() |
Modifier and Type | Method and Description |
---|---|
GetSpaceUsed |
build() |
Configuration |
getConf() |
long |
getInitialUsed() |
long |
getInterval() |
long |
getJitter() |
Class<? extends GetSpaceUsed> |
getKlass() |
File |
getPath() |
GetSpaceUsed.Builder |
setConf(Configuration conf) |
GetSpaceUsed.Builder |
setInitialUsed(long initialUsed) |
GetSpaceUsed.Builder |
setInterval(long interval) |
GetSpaceUsed.Builder |
setJitter(Long jit) |
GetSpaceUsed.Builder |
setKlass(Class<? extends GetSpaceUsed> klass) |
GetSpaceUsed.Builder |
setPath(File path) |
public Configuration getConf()
public GetSpaceUsed.Builder setConf(Configuration conf)
public long getInterval()
public GetSpaceUsed.Builder setInterval(long interval)
public Class<? extends GetSpaceUsed> getKlass()
public GetSpaceUsed.Builder setKlass(Class<? extends GetSpaceUsed> klass)
public File getPath()
public GetSpaceUsed.Builder setPath(File path)
public long getInitialUsed()
public GetSpaceUsed.Builder setInitialUsed(long initialUsed)
public long getJitter()
public GetSpaceUsed.Builder setJitter(Long jit)
public GetSpaceUsed build() throws IOException
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.