Class FileWriteRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.io.FileWriteRule
-
-
Field Summary
Fields Modifier and Type Field Description static TypedResult<IQuantity>
AVERAGE_FILE_WRITE
static TypedResult<IQuantity>
LONGEST_TOTAL_WRITE
static TypedResult<IQuantity>
LONGEST_WRITE_AMOUNT
static TypedResult<String>
LONGEST_WRITE_PATH
static TypedResult<IQuantity>
LONGEST_WRITE_TIME
static TypedResult<IQuantity>
TOTAL_FILE_WRITE
static TypedPreference<IQuantity>
WRITE_WARNING_LIMIT
-
Constructor Summary
Constructors Constructor Description FileWriteRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunnableFuture<IResult>
createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
Collection<TypedPreference<?>>
getConfigurationAttributes()
String
getId()
String
getName()
Map<String,RulesToolkit.EventAvailability>
getRequiredEvents()
Collection<TypedResult<?>>
getResults()
String
getTopic()
-
-
-
Field Detail
-
WRITE_WARNING_LIMIT
public static final TypedPreference<IQuantity> WRITE_WARNING_LIMIT
-
LONGEST_WRITE_AMOUNT
public static final TypedResult<IQuantity> LONGEST_WRITE_AMOUNT
-
LONGEST_WRITE_TIME
public static final TypedResult<IQuantity> LONGEST_WRITE_TIME
-
LONGEST_WRITE_PATH
public static final TypedResult<String> LONGEST_WRITE_PATH
-
LONGEST_TOTAL_WRITE
public static final TypedResult<IQuantity> LONGEST_TOTAL_WRITE
-
AVERAGE_FILE_WRITE
public static final TypedResult<IQuantity> AVERAGE_FILE_WRITE
-
TOTAL_FILE_WRITE
public static final TypedResult<IQuantity> TOTAL_FILE_WRITE
-
-
Method Detail
-
createEvaluation
public RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
- Specified by:
createEvaluation
in interfaceIRule
-
getConfigurationAttributes
public Collection<TypedPreference<?>> getConfigurationAttributes()
- Specified by:
getConfigurationAttributes
in interfaceIRule
-
getRequiredEvents
public Map<String,RulesToolkit.EventAvailability> getRequiredEvents()
- Specified by:
getRequiredEvents
in interfaceIRule
-
getResults
public Collection<TypedResult<?>> getResults()
- Specified by:
getResults
in interfaceIRule
-
-