Package org.apache.hadoop.fs.s3a.audit
Class OperationAuditorOptions
java.lang.Object
org.apache.hadoop.fs.s3a.audit.OperationAuditorOptions
Options for the
OperationAuditor.
Done as a builder and passed in so
that if it is extended, external auditors will still link.-
Method Summary
Modifier and TypeMethodDescriptionstatic OperationAuditorOptionsbuilder()Create one.org.apache.hadoop.conf.Configurationorg.apache.hadoop.fs.statistics.impl.IOStatisticsStorewithConfiguration(org.apache.hadoop.conf.Configuration value) Set builder value.withIoStatisticsStore(org.apache.hadoop.fs.statistics.impl.IOStatisticsStore value) Set builder value.
-
Method Details
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration() -
withConfiguration
Set builder value.- Parameters:
value- new value- Returns:
- the builder
-
getIoStatisticsStore
public org.apache.hadoop.fs.statistics.impl.IOStatisticsStore getIoStatisticsStore() -
withIoStatisticsStore
public OperationAuditorOptions withIoStatisticsStore(org.apache.hadoop.fs.statistics.impl.IOStatisticsStore value) Set builder value.- Parameters:
value- new value- Returns:
- the builder
-
builder
Create one.- Returns:
- a new option instance
-