Package jetbrains.buildServer.serverSide
Interface SettingsMap
-
- All Known Implementing Classes:
SettingsMapImpl
public interface SettingsMapDeprecated.Provides the interface for the key-value storage (both areStrings). Thread-safe.The settings may be associated with certain TeamCity objects (e.g.
SProject). Note that the methods may not throw after this object is removed.Keys and values are expected to be short or medium length (up to 1Mb). Big strings may cause performance problems.
- Since:
- 7.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
CustomSettings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetValue(String key)Deprecated.Returns the value for thekey, ornullif there is no one.Stringremove(String key)Deprecated.Removes and persists the entry associated with thekey.voidsetValue(String key, String value)Deprecated.Sets and persists thekey/valueentry.
-
-
-
Method Detail
-
getValue
@Nullable String getValue(@NotNull String key)
Deprecated.Returns the value for thekey, ornullif there is no one. The call may require the I/O operations, so can be potentially slow.- Parameters:
key- the key- Returns:
- the value, or null
-
setValue
void setValue(@NotNull String key, @NotNull String value)Deprecated.Sets and persists thekey/valueentry. The call requires the I/O operations, hence can be slow.- Parameters:
key- the keyvalue- the value
-
-