| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private final String | |
| public static final String | |
| private final PlatformEventType | |
| public static final String | |
| public static final String | |
| private static final long | |
| 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 boolean | |
| public void | setValue(String value)
Implements abstract jdk. Sets the value for this setting. |
| private String |
| BEGIN_CHUNK | back to summary |
|---|---|
| public static final String BEGIN_CHUNK | |
| DEFAULT_VALUE | back to summary |
|---|---|
| public static final String DEFAULT_VALUE | |
| defaultValue | back to summary |
|---|---|
| private final String defaultValue | |
| END_CHUNK | back to summary |
|---|---|
| public static final String END_CHUNK | |
| eventType | back to summary |
|---|---|
| private final PlatformEventType eventType | |
| EVERY_CHUNK | back to summary |
|---|---|
| public static final String EVERY_CHUNK | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| typeId | back to summary |
|---|---|
| private static final long typeId | |
| value | back to summary |
|---|---|
| private String value | |
| PeriodSetting | back to summary |
|---|---|
| public PeriodSetting(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
| |
| isType | back to summary |
|---|---|
| public static boolean isType(long typeId) | |
| 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.
| |
| validPeriod | back to summary |
|---|---|
| private String validPeriod(String userDefault) | |