Interface CustomData
-
- All Known Implementing Classes:
NullCustomData
public interface CustomData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Map<String,String>getData()longgetDataLoadTime()longgetId()longgetLastUsedTime()longgetUpdateMarker()StringgetValue(String key)booleanisDirty()voidputValue(String key, String value)Stringserialize()voidsetData(Map<String,String> newData)intsize()voidupdateValues(Map<String,String> newOrChangedValues, Set<String> removedKeys)
-
-
-
Method Detail
-
getId
long getId()
-
updateValues
void updateValues(@NotNull Map<String,String> newOrChangedValues, @NotNull Set<String> removedKeys)
-
clear
void clear()
-
serialize
@NotNull String serialize()
-
isDirty
boolean isDirty()
-
getUpdateMarker
long getUpdateMarker()
-
getLastUsedTime
long getLastUsedTime()
-
getDataLoadTime
long getDataLoadTime()
-
size
int size()
- Returns:
- size of this storage, i.e. number of key/value pairs
-
-