Class SocketReadRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.io.SocketReadRule
-
-
Field Summary
Fields Modifier and Type Field Description static TypedResult<IQuantity>AVERAGE_SOCKET_READstatic TypedResult<java.lang.String>LONGEST_READ_ADDRESSstatic TypedResult<IQuantity>LONGEST_READ_AMOUNTstatic TypedResult<IQuantity>LONGEST_READ_TIMEstatic TypedResult<IQuantity>LONGEST_TOTAL_READstatic TypedPreference<IQuantity>READ_INFO_LIMITstatic TypedPreference<IQuantity>READ_WARNING_LIMITstatic TypedResult<IQuantity>TOTAL_SOCKET_READ
-
Constructor Summary
Constructors Constructor Description SocketReadRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.RunnableFuture<IResult>createEvaluation(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)java.util.Collection<TypedPreference<?>>getConfigurationAttributes()java.lang.StringgetId()java.lang.StringgetName()java.util.Map<java.lang.String,RulesToolkit.EventAvailability>getRequiredEvents()java.util.Collection<TypedResult<?>>getResults()java.lang.StringgetTopic()protected static java.lang.StringsanitizeAddress(java.lang.String address)
-
-
-
Field Detail
-
READ_INFO_LIMIT
public static final TypedPreference<IQuantity> READ_INFO_LIMIT
-
READ_WARNING_LIMIT
public static final TypedPreference<IQuantity> READ_WARNING_LIMIT
-
LONGEST_READ_AMOUNT
public static final TypedResult<IQuantity> LONGEST_READ_AMOUNT
-
LONGEST_READ_TIME
public static final TypedResult<IQuantity> LONGEST_READ_TIME
-
LONGEST_READ_ADDRESS
public static final TypedResult<java.lang.String> LONGEST_READ_ADDRESS
-
LONGEST_TOTAL_READ
public static final TypedResult<IQuantity> LONGEST_TOTAL_READ
-
AVERAGE_SOCKET_READ
public static final TypedResult<IQuantity> AVERAGE_SOCKET_READ
-
TOTAL_SOCKET_READ
public static final TypedResult<IQuantity> TOTAL_SOCKET_READ
-
-
Method Detail
-
createEvaluation
public java.util.concurrent.RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)
- Specified by:
createEvaluationin interfaceIRule
-
getConfigurationAttributes
public java.util.Collection<TypedPreference<?>> getConfigurationAttributes()
- Specified by:
getConfigurationAttributesin interfaceIRule
-
sanitizeAddress
protected static java.lang.String sanitizeAddress(java.lang.String address)
-
getRequiredEvents
public java.util.Map<java.lang.String,RulesToolkit.EventAvailability> getRequiredEvents()
- Specified by:
getRequiredEventsin interfaceIRule
-
getResults
public java.util.Collection<TypedResult<?>> getResults()
- Specified by:
getResultsin interfaceIRule
-
-