| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final String | |
| private final PlatformEventType | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | combine(Set<String> values)
Implements abstract jdk. Combines the setting values for all running recordings into one value when multiple recordings are running at the same time, The semantics of how setting values are combined depends on the setting control that is implemented, but all recordings should get at least all the events they request. |
| public String | getValue()
Implements abstract jdk. Returns the currently used value for this setting, not |
| public static long | |
| public void | setValue(String value)
Implements abstract jdk. Sets the value for this setting. |
| DEFAULT_VALUE | back to summary |
|---|---|
| public static final String DEFAULT_VALUE | |
| defaultValue | back to summary |
|---|---|
| private final String defaultValue | |
| eventType | back to summary |
|---|---|
| private final PlatformEventType eventType | |
| value | back to summary |
|---|---|
| private String value | |
| CutoffSetting | back to summary |
|---|---|
| public CutoffSetting(PlatformEventType eventType, String defaultValue) | |
| combine | back to summary |
|---|---|
| public String combine(Set<String> values) Implements abstract jdk. Doc from jdk. Combines the setting values for all running recordings into one value when multiple recordings are running at the same time, The semantics of how setting values are combined depends on the setting control that is implemented, but all recordings should get at least all the events they request.
This method should have no side effects, because the caller might cache values.
This method should never return Examples:
if the setting control represents a threshold and three recordings are
running at the same time with the setting values
If the setting control represents a set of names and two recordings are
running at the same time with the setting values
If the setting control represents a boolean condition and four recordings are
running at the same time with the following values
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract jdk. Doc from jdk. Returns the currently used value for this setting, not
The value returned by this method is valid as an argument to both
the
This method is invoked when an event is registered to obtain the
default value. It is therefore important that a valid value can be
returned immediately after an instance of this class is created. It is
not valid to return
| |
| parseValueSafe | back to summary |
|---|---|
| public static long parseValueSafe(String value) | |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Implements abstract jdk. Doc from jdk. Sets the value for this setting. If the setting value is not valid for this setting, this method does not throw an exception. Instead, the value is ignored.
| |