@Internal
public interface PropertyService
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String key,
boolean defaultValue) |
long |
getLong(String key,
long defaultValue) |
String |
getString(String key,
String defaultValue) |
void |
invalidate(String key)
Invalidates the value cache, so the next get() will reload the value from the database.
|
void |
remove(String key) |
void |
set(String key,
boolean value) |
void |
set(String key,
long value) |
void |
set(String key,
String value) |
@Contract(value="_, null -> _; _, !null -> !null") String getString(@NotNull String key, @Nullable String defaultValue)
key
- shouldn't be longer than 190 characters - see AOUtil.MAX_STRING_FIELD_LENGTH.boolean getBoolean(@NotNull String key, boolean defaultValue)
long getLong(@NotNull String key, long defaultValue)
void set(@NotNull String key, boolean value)
void set(@NotNull String key, long value)
void remove(@NotNull String key)
void invalidate(@NotNull String key)
Copyright © 2024 Tempo Software. All Rights Reserved.